Use RSS instead
This commit is contained in:
parent
ad5d711760
commit
4baaa95d22
|
@ -1,27 +1,19 @@
|
|||
---
|
||||
generator: [posts_tag_index]
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title><![CDATA[{{ site.title }}]]></title>
|
||||
<link href="{{ site.url }}{{ page.url }}" rel="self"/>
|
||||
<link href="{{ site.url }}/"/>
|
||||
<updated>{{ site.calculated_date | date('c') }}</updated>
|
||||
<id>{{ site.url }}/</id>
|
||||
{% if site.author or site.email %}
|
||||
<author>
|
||||
{% if site.author %}<name><![CDATA[{{ site.author }}]]></name>{% endif %}
|
||||
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
|
||||
</author>
|
||||
{% endif %}
|
||||
<generator uri="http://sculpin.io/">Sculpin</generator>
|
||||
{% for post in page.tag_posts|slice(0, 10) %}
|
||||
<entry>
|
||||
<title type="html"><![CDATA[{{ post.title }}]]></title>
|
||||
<link href="{{ site.url }}{{ post.url }}"/>
|
||||
<updated>{{ post.date|date('c') }}</updated>
|
||||
<id>{{ site.url }}{{ post.url }}</id>
|
||||
<content type="html"><![CDATA[{{ post.blocks.content|raw }}]]></content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
</feed>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>{{ site.title }}</title>
|
||||
<link>{{ site.url }}</link>
|
||||
{% if site.description %}<description>{{ site.description|raw }}</description>{% endif %}
|
||||
{% for post in page.tag_posts|slice(0, 10) %}
|
||||
<item>
|
||||
<title>{{ post.title }}</title>
|
||||
<link>{{ site.url }}{{ post.url }}</link>
|
||||
<pubDate>{{ post.date|date('r') }}</pubDate>
|
||||
{% if post.description %}<description>{{ post.description|raw }}</description>{% endif %}
|
||||
</item>
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
Loading…
Reference in a new issue