Skip to content

Commit dd8b0dc

Browse files
committed
Merge pull request #8 from bclozel/master
add category tags to the atom feed
2 parents 1d77b31 + ef18a78 commit dd8b0dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

atom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ layout: nil
2121
<updated>{{ post.date | date_to_xmlschema }}</updated>
2222
<id>http://pullrequest.org{{ post.id }}</id>
2323
<content type="html">{{ post.content | strip_html | truncatewords:50 }}</content>
24-
</entry>
24+
{% for tag in post.tags %}
25+
<category domain="http://pullrequest.org/tags.html#{{ tag }}">{{ tag }}</category>
26+
{% endfor %}
27+
</entry>
2528
{% endfor %}
2629

2730
</feed>

0 commit comments

Comments
 (0)