mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-20 01:42:41 +01:00
ab416c903a
* Reapply "Make all news posts use proper templates and use the Jekyll post system (#243)" (#244)
This reverts commit 597567687d
.
* Change /services/m=news/latest.html to show the latest update rather than redirecting to stop Saradomin launcher from crashing
The launcher really shouldn't crash when it fails to retrieve news
items, but alas.
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
---
|
|
layout: null
|
|
---
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>{{ site.title | xml_escape }} - Game updates</title>
|
|
<description>{{ site.description | xml_escape }}</description>
|
|
<link>{{ site.url }}{{ site.baseurl }}/</link>
|
|
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
|
|
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
|
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
|
<generator>Jekyll v{{ jekyll.version }}</generator>
|
|
{% assign posts = site.posts | orderby: 'date' | limit:10 %}
|
|
{% for post in posts %}
|
|
<item>
|
|
<title>{{ post.title | xml_escape }}</title>
|
|
<description>{{ post.excerpt }}</description>
|
|
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
|
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
|
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
|
{% for tag in post.tags %}
|
|
<category>{{ tag | xml_escape }}</category>
|
|
{% endfor %}
|
|
{% for cat in post.categories %}
|
|
<category>{{ cat | xml_escape }}</category>
|
|
{% endfor %}
|
|
</item>
|
|
{% endfor %}
|
|
</channel>
|
|
</rss>
|