all repos — nasg @ c81f0860ae966850211fb948b3590e5f64096358

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
 26
 27
 28
 29
 30
 31
 32
 33
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>{{ taxonomy.title }}</title>
	<link href="{{ taxonomy.feed }}" rel="self" />
	<id>{{ taxonomy.feed }}</id>
	<updated>{{ taxonomy.lastmod }}</updated>

{% for post in posts %}
	<entry>
		<title>{{ post.title }}</title>
		<link href="{{ site.url }}/{{ post.slug }}/" />
		<id>{{ site.url }}/{{ post.slug }}</id>
		<updated>{{ post.pubtime }}</updated>
		{% if post.summary|length > 0 %}
		<summary type="xhtml">
			<div xmlns="http://www.w3.org/1999/xhtml">
				{{ post.summary }}>
			</div>
		</summary>
		{% endif %}
		<content type="xhtml">
			<div xmlns="http://www.w3.org/1999/xhtml">
				{{ post.html }}
			</div>
		</content>
		<author>
			<name>{{ site.author.name }}</name>
			<email>{{ site.author.email }}</email>
		</author>
	<!-- TODO: add enclosure ! -->
	</entry>
{% endfor %}
</feed>