about summary refs log tree commit diff stats
path: root/exampleSite
diff options
context:
space:
mode:
authorYihui Xie2018-01-26 23:30:36 -0600
committerYihui Xie2018-01-26 23:30:36 -0600
commitd0209f76044d51582923daad96827777dbd0f002 (patch)
tree5ee5d9a360f809aa339c8c45015063a0128796d2 /exampleSite
parentc14ca049d0dd60386264ea68c91d8495809cc4c6 (diff)
downloadhugo-xmin-d0209f76044d51582923daad96827777dbd0f002.tar.lz
hugo-xmin-d0209f76044d51582923daad96827777dbd0f002.tar.zst
hugo-xmin-d0209f76044d51582923daad96827777dbd0f002.zip
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)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/_index.Rmarkdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/content/_index.Rmarkdown b/exampleSite/content/_index.Rmarkdown
index 42a2b71..0d19de2 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, 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
 ```