Skip to content

Commit 21ce5a2

Browse files
authored
Merge pull request #1750 from jryans/feed-cleanup
Switch to a single site feed covering all post categories
2 parents e1760ff + 992d04d commit 21ce5a2

File tree

3 files changed

+3
-29
lines changed

3 files changed

+3
-29
lines changed

_includes/headertop.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,4 @@
5656
<script type="text/javascript">try{Typekit.load();}catch(e){}</script> -->
5757

5858
<!-- Atom feeds -->
59-
<link rel="alternate" type="application/atom+xml" title="News Feed" href="{{ site.baseurl }}/feed/index.xml" />
60-
<link rel="alternate" type="application/atom+xml" title="Blog Feed" href="{{ site.baseurl }}/feed/blog.xml" />
59+
<link rel="alternate" type="application/atom+xml" title="Feed" href="{{ site.baseurl }}/feed/index.xml" />

feed/blog.xml

-25
This file was deleted.

feed/index.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<?xml version="1.0" encoding="utf-8"?>
44
<feed xmlns="http://www.w3.org/2005/Atom">
55
<id>https://www.scala-lang.org/</id>
6-
<title type="text" xml:lang="en">{{ site.title }} :: News</title>
6+
<title type="text" xml:lang="en">{{ site.title }}</title>
77
<link type="application/atom+xml" href="https://www.scala-lang.org/feed/index.xml" rel="self"/>
88
<link type="text/html" href="https://www.scala-lang.org/news/" rel="alternate"/>
99

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

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

0 commit comments

Comments
 (0)