hugo-xmin | eXtremely Minimal Hugo theme : about 150 lines | Theme library
kandi X-RAY | hugo-xmin Summary
kandi X-RAY | hugo-xmin Summary
XMin is a Hugo theme written by Yihui Xie in about four hours: half an hour was spent on the Hugo templates, and 3.5 hours were spent on styling. The main motivation for writing this theme was to provide a really minimal example to beginners of Hugo templates. This XMin theme contains about 130 lines of code in total, including the code in HTML templates and CSS (also counting empty lines). I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit of CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hugo-xmin
hugo-xmin Key Features
hugo-xmin Examples and Code Snippets
Community Discussions
Trending Discussions on hugo-xmin
QUESTION
I am trying to change the theme of my site to hugo-xmin
, but I am not able to get the site to render properly. I get the home page I want (below), but then I don't get the Contact
page (I also don't see it in the public
directory).
Also, I don't see my posts in the right format, I see a directory type of listing and I don't see anything in the categories
or tags
also.
The Posts page is pasted below
I get the 404
message for Contact
, as seen below (perhaps because there is no contact.html
in the public
folder).
I have tried to understand the documentation of the theme in the blogdown
book, but I am not able to make much progress. Any help here would be highly appreciated!
The source code of the site can be found at - https://github.com/sn248/sn248.github.io
I am using blogdown
version 0.20
and hugo
version - 0.75.1
, R
version - 4.0.2
and rmarkdown
version - 2.3
.
Thanks!
Satya
...ANSWER
Answered 2020-Sep-29 at 17:12I just created a PR on Github to fix your issue. As I mentioned there, index.md
has a special meaning in Hugo (index file for leaf bundles), and you should use _index.md
here (i.e., content/_index.md
instead of content/index.md
). See https://gohugo.io/content-management/page-bundles/ for more information about bundles in Hugo.
QUESTION
I am trying to use Hugo Xmin to create a static site. My site will be hosted in the gh-pages of my repository, therefore the final URL will look like:
...ANSWER
Answered 2019-Mar-26 at 03:36The behavior of relURL
seems to have changed since a certain version of Hugo (I don't know which). Anyway, you can remove the leading slashes in those menu items, e.g., change
QUESTION
This question is very closely related to this question, however the following differences apply:
- OS: Unix CentOS in Docker container (image is
centos
) with Windows host. - Error: Conceptually the same error, but the fix that worked on Windows does not work here and the error message is also different.
I have created a project by using template Hugo-Xmin. In RStudio, after creating the project in blogdown, it created some predefined posts, I am editing this one:
...ANSWER
Answered 2019-Mar-19 at 13:21I don't know why your TeX Live could not find preview.sty
, but I'm pretty sure TinyTeX will work automatically:
QUESTION
I have just started using blogdown and I have created a project by using template Hugo-Xmin. In RStudio, when creating the project in blogdown, it created some predefined posts, I am editing this one:
...ANSWER
Answered 2019-Mar-06 at 21:59This turns out to be an issue in knitr which I just fixed on Github (I'm not sure if it is a bug of pdflatex
). You may try
QUESTION
I built a site with the R blogdown package:
...ANSWER
Answered 2017-Nov-07 at 03:40The date is formatted on this line in the template single.html
of the hugo-xmin theme:
QUESTION
With R blogdown package, it is easy to build a personal website. I like the style of the yihui/hugo-xmin theme for its simplicity. I built a site with the R blogdown package in my folder 'c:/test' on the Windows OS:
...ANSWER
Answered 2017-Nov-06 at 18:57The title is not in the
. Add something like this to your CSS should increase the line-height:
QUESTION
I am new to E blogdown package. I have rad 1st chapter of bogdown book. I tried to make new site using:
...ANSWER
Answered 2017-Nov-02 at 19:22You can safely delete the R script R/build.R
, and run serve_site()
again.
QUESTION
summary: bash not found on win7 (git bash is available)
...ANSWER
Answered 2017-Sep-15 at 14:01Its a windows issue (win7) with this particular theme. running new_site() with the default theme works fine.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hugo-xmin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page