all repos — nasg @ 7c8a180e2b41437cdca7d12581d1c52d4f6a21f8

templates/Category_feed.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>{{ taxonomy.title }}</title>
	<link>{{ site.url }}{{ taxonomy.feed }}</link>
	<lastBuildDate>{{ taxonomy.lastmod }}</lastBuildDate>
	<description>{{ site.title }}: {{ taxonomy.name }}</description>
{% for post in posts %}
	<item>
		<title>{{ post.title }}</title>
		<link>{{ site.url }}/{{ post.slug }}/</link>
		<content:encoded><![CDATA[{{ post.html }}]]></content:encoded>
		<pubDate>{{ post.pubrfc }}</pubDate>
		<guid>{{ site.url }}/{{ post.slug }}</guid>
		<dc:language>{{ post.lang }}</dc:language>
{%- if post.tags %}{% for tname in post.tags %}
			<category>{{ tname }}></category>
{% endfor %}{% endif -%}
	</item>
{% endfor %}
</channel>
</rss>