mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-14 16:09:09 +01:00
9 lines
376 B
Ruby
9 lines
376 B
Ruby
# copy changelog and news to includes
|
|
FileUtils.cp '../InGameNews.md', '_includes/__news.md'
|
|
FileUtils.cp '../Changelog.md', '_includes/__changelog.md'
|
|
|
|
# after the site is generated, copy changelog and news media into it
|
|
Jekyll::Hooks.register :site, :post_write do
|
|
FileUtils.cp_r "../media/news", "_site/media"
|
|
FileUtils.cp_r "../media/changelog", "_site/media"
|
|
end
|