Compare commits

...

2 commits

Author SHA1 Message Date
Ell
37f93b2a30 also copy the changelog and in-game news raw files to the site 2024-08-16 14:02:15 +02:00
Ell
fdf6d55414 clear in-game news 2024-08-16 13:52:06 +02:00
2 changed files with 5 additions and 6 deletions

View file

@ -1,5 +0,0 @@
![](media/news/outright.png)
For Pride Month and until **the end of August**, we're partnering with Outright for their [Family Pride](https://outrightinternational.org/familypride) event. By donating to our campaign, you also help more **fun queer content** make its way into the game!
**[See Rewards and Donate](https://outrightinternational.donorsupport.co/page/TinyLifeOutrightPride2024)** ←

View file

@ -2,8 +2,12 @@
FileUtils.cp '../InGameNews.md', '_includes/__news.md' FileUtils.cp '../InGameNews.md', '_includes/__news.md'
FileUtils.cp '../Changelog.md', '_includes/__changelog.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 Jekyll::Hooks.register :site, :post_write do
# after the site is generated, copy changelog and news media into it
FileUtils.cp_r "../media/news", "_site/media" FileUtils.cp_r "../media/news", "_site/media"
FileUtils.cp_r "../media/changelog", "_site/media" FileUtils.cp_r "../media/changelog", "_site/media"
# also copy the raw markdown files for the in-game changelog/news viewers
FileUtils.cp_r "_includes/__news.md", "_site/ingamenews/raw.md"
FileUtils.cp_r "_includes/__changelog.md", "_site/changelog/raw.md"
end end