From 992d04d9cbd51bea6d51956c9a15904812d72546 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 11 Feb 2025 17:40:12 +0000 Subject: [PATCH] Switch to a single site feed covering all post categories This changes the existing `index.xml` feed to include all posts to the site regardless of category. This also removes the `blog.xml` feed, as that only covered one category that is mostly unused. Fixes https://github.com/scala/scala-lang/issues/1467 Fixes https://github.com/scala/scala-lang/issues/849 --- _includes/headertop.html | 3 +-- feed/blog.xml | 25 ------------------------- feed/index.xml | 4 ++-- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 feed/blog.xml diff --git a/_includes/headertop.html b/_includes/headertop.html index 318e96f36..209184b7f 100644 --- a/_includes/headertop.html +++ b/_includes/headertop.html @@ -56,5 +56,4 @@ --> - - + diff --git a/feed/blog.xml b/feed/blog.xml deleted file mode 100644 index 33531390e..000000000 --- a/feed/blog.xml +++ /dev/null @@ -1,25 +0,0 @@ ---- ---- - - - https://www.scala-lang.org/blog/ - {{ site.title }} :: Blog - - - - {{ site.time | date_to_xmlschema }} - - École Polytechnique Fédérale de Lausanne - - Copyright (c) 2002-{{ site.time | date:"%Y" }} École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland - - {% for post in site.categories.blog limit:20 %} - - {{ post.title }} - - {{ post.date | date_to_xmlschema }} - https://www.scala-lang.org{{ post.id }} - {{ post.content | xml_escape }} - - {% endfor %} - diff --git a/feed/index.xml b/feed/index.xml index 65b7afcef..6629571c8 100644 --- a/feed/index.xml +++ b/feed/index.xml @@ -3,7 +3,7 @@ https://www.scala-lang.org/ - {{ site.title }} :: News + {{ site.title }} @@ -13,7 +13,7 @@ Copyright (c) 2002-{{ site.time | date:"%Y" }} École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland - {% for post in site.categories.news limit:20 %} + {% for post in site.posts limit:20 %} {{ post.title }}