mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 08:29:19 +02:00
don't echo the shell script when executing it
This commit is contained in:
parent
5dc6edc633
commit
4100270f6f
|
@ -10,7 +10,7 @@ title: Home
|
|||
|
||||
**XMin** is a Hugo theme written by [Yihui Xie](https://yihui.org) 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=3, eval=Sys.which('bash') != ''}
|
||||
```{bash, comment='', echo=3, eval=Sys.which('bash') != '', message=FALSE}
|
||||
cd ../..;
|
||||
if [ ! -f 'theme.toml' ]; then exit 0; fi # only run find below within the theme example site
|
||||
find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
|
||||
|
|
Loading…
Reference in New Issue