all repos — archive/hugo-xmin @ d0209f76044d51582923daad96827777dbd0f002

Customised minimal hugo theme

close #19: disable the bash chunk on the operating system that is only _this_ tall (even after trying to incorporating a really tall system as its subsystem)

Yihui Xie
commit

d0209f76044d51582923daad96827777dbd0f002

parent

c14ca049d0dd60386264ea68c91d8495809cc4c6

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M exampleSite/content/_index.RmarkdownexampleSite/content/_index.Rmarkdown
@@ -10,7 +10,7 @@ ## _Keep it simple, but not simpler_
**XMin** is a Hugo theme written by [Yihui Xie](https://yihui.name) 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). -```{bash, comment='', echo=2, eval=Sys.which('bash') != ''} +```{bash, comment='', echo=2, eval=Sys.which('bash') != '' && .Platform$OS.type != 'windows'} cd ../..; find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l ```