diff options
author | Yihui Xie | 2017-10-08 09:23:40 -0500 |
---|---|---|
committer | Yihui Xie | 2017-10-08 09:23:40 -0500 |
commit | ffa1147b46cfdf04c9674eb420183bdd78f07a55 (patch) | |
tree | 0782457a0659703e7fb3647e538c95a6f90097d8 /exampleSite/content | |
parent | 11ad2599ed983b8749fb2ce7f0a19f998c2998dd (diff) | |
download | hugo-xmin-ffa1147b46cfdf04c9674eb420183bdd78f07a55.tar.lz hugo-xmin-ffa1147b46cfdf04c9674eb420183bdd78f07a55.tar.zst hugo-xmin-ffa1147b46cfdf04c9674eb420183bdd78f07a55.zip |
bash and sed may not be available on Windows
Diffstat (limited to 'exampleSite/content')
-rw-r--r-- | exampleSite/content/_index.Rmarkdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/content/_index.Rmarkdown b/exampleSite/content/_index.Rmarkdown index 4f58bee..42a2b71 100644 --- a/exampleSite/content/_index.Rmarkdown +++ b/exampleSite/content/_index.Rmarkdown @@ -10,7 +10,7 @@ title: Home **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} +```{bash, comment='', echo=2, eval=Sys.which('bash') != ''} cd ../..; find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l ``` |