2017-08-09 16:37:42 +00:00
|
|
|
file.copy('content/_index.markdown', '../README.md', overwrite = TRUE)
|
2017-10-08 14:23:40 +00:00
|
|
|
if (Sys.which('sed') != '') system("sed -i '' -e '1,6d' -e '34,38d' ../README.md")
|
2017-08-09 16:37:42 +00:00
|
|
|
cat(
|
|
|
|
'[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.name)\n',
|
|
|
|
file = '../README.md', append = TRUE
|
|
|
|
)
|