Skip to content

Switch to a single site feed covering all post categories #1750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions _includes/headertop.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@
<script type="text/javascript">try{Typekit.load();}catch(e){}</script> -->

<!-- Atom feeds -->
<link rel="alternate" type="application/atom+xml" title="News Feed" href="{{ site.baseurl }}/feed/index.xml" />
<link rel="alternate" type="application/atom+xml" title="Blog Feed" href="{{ site.baseurl }}/feed/blog.xml" />
<link rel="alternate" type="application/atom+xml" title="Feed" href="{{ site.baseurl }}/feed/index.xml" />
25 changes: 0 additions & 25 deletions feed/blog.xml

This file was deleted.

4 changes: 2 additions & 2 deletions feed/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://www.scala-lang.org/</id>
<title type="text" xml:lang="en">{{ site.title }} :: News</title>
<title type="text" xml:lang="en">{{ site.title }}</title>
<link type="application/atom+xml" href="https://www.scala-lang.org/feed/index.xml" rel="self"/>
<link type="text/html" href="https://www.scala-lang.org/news/" rel="alternate"/>

Expand All @@ -13,7 +13,7 @@
</author>
<rights>Copyright (c) 2002-{{ site.time | date:"%Y" }} École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland</rights>

{% for post in site.categories.news limit:20 %}
{% for post in site.posts limit:20 %}
<entry>
<title>{{ post.title }}</title>
<link href="https://www.scala-lang.org{{ post.url }}"/>
Expand Down