7 lines
289 B
R
7 lines
289 B
R
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
|
|
)
|