diff options
Diffstat (limited to 'exampleSite/R')
-rw-r--r-- | exampleSite/R/build.R | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/R/build.R b/exampleSite/R/build.R new file mode 100644 index 0000000..4747bd1 --- /dev/null +++ b/exampleSite/R/build.R @@ -0,0 +1,6 @@ +file.copy('content/_index.markdown', '../README.md', overwrite = TRUE) +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 +) |