From ec54e798fbdfb58089482a97ef5b46b5fbb4602c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 4 Jun 2023 19:06:57 +0200 Subject: [PATCH] added a feed for devlogs & news --- web/Gemfile | 1 + web/Gemfile.lock | 3 +++ web/_config.yaml | 9 +++++++++ web/_includes/devlogs.html | 2 +- web/_layouts/blog.html | 2 +- 5 files changed, 15 insertions(+), 2 deletions(-) diff --git a/web/Gemfile b/web/Gemfile index 16b27dd..2f7a4a1 100644 --- a/web/Gemfile +++ b/web/Gemfile @@ -7,3 +7,4 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } gem "jekyll" gem "webrick" gem "jekyll-postfiles" +gem "jekyll-feed" diff --git a/web/Gemfile.lock b/web/Gemfile.lock index 3f9bb05..67efe42 100644 --- a/web/Gemfile.lock +++ b/web/Gemfile.lock @@ -29,6 +29,8 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 2.0) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) jekyll-postfiles (3.1.0) jekyll (>= 3.8.6, < 5) jekyll-sass-converter (2.1.0) @@ -65,6 +67,7 @@ PLATFORMS DEPENDENCIES jekyll + jekyll-feed jekyll-postfiles webrick diff --git a/web/_config.yaml b/web/_config.yaml index 627ec64..de88371 100644 --- a/web/_config.yaml +++ b/web/_config.yaml @@ -8,6 +8,7 @@ defaults: plugins: - jekyll-postfiles + - jekyll-feed # markdown formatting kramdown: @@ -18,3 +19,11 @@ kramdown: ndash: -- laquo: "<<" raquo: ">>" + +# atom feed +url: https://tinylifegame.com/devlogs +title: Tiny Life News and Devlogs +description: News and devlogs for Tiny Life, a fun simulation game where you mess with people's lives +author: Ellpeck Games +feed: + posts_limit: 10000 diff --git a/web/_includes/devlogs.html b/web/_includes/devlogs.html index a78d4cb..65e99b6 100644 --- a/web/_includes/devlogs.html +++ b/web/_includes/devlogs.html @@ -1,6 +1,6 @@

📢 News and Devlogs

-

Along with every major update, we publish a devlog that features additional information as well as some screenshots. Occasionally, we also post about the game's development or other news. You can read them on itch or on Steam. You can also read the full changelog or subscribe to the mailing list.

+

Along with every major update, we publish a devlog that features additional information as well as some screenshots. Occasionally, we also post about the game's development or other news. You can read them on itch or on Steam. You can also read the full changelog or subscribe to the mailing list or the Atom feed.

{% for post in site.posts %} diff --git a/web/_layouts/blog.html b/web/_layouts/blog.html index c218a35..41f6841 100644 --- a/web/_layouts/blog.html +++ b/web/_layouts/blog.html @@ -15,7 +15,7 @@ nav: blognav.html

{{ page.title }}

-

📖 You can also read this post on itch or on Steam, or you can subscribe to the mailing list.

+

📖 You can also read this post on itch or on Steam, or you can subscribe to the mailing list or the Atom feed.

{% include anchor_headings.html html=content anchorBody="#" anchorClass="anchor-heading" %}