all repos — archive/hugo-xmin @ d0209f76044d51582923daad96827777dbd0f002

Customised minimal hugo theme

exampleSite/R/build.R (view raw)

1
2
3
4
5
6
file.copy('content/_index.markdown', '../README.md', overwrite = TRUE)
if (Sys.which('sed') != '') system("sed -i '' -e '1,6d' -e '34,38d' ../README.md")
cat(
  '[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.name)\n',
  file = '../README.md', append = TRUE
)