Add generator tag to Atom feed.

generator is an optional element, but let's give credit where it's due.
Besides, it can be helpful to feed consumers to know what tool generated the file.
This commit is contained in:
Mikkel Hoegh 2011-10-04 00:24:16 +02:00
parent 2a69965e81
commit f4a6bd2a68

View File

@ -15,6 +15,7 @@ layout: nil
<email>{{ site.email | xml_escape }}</email> <email>{{ site.email | xml_escape }}</email>
{% endif %} {% endif %}
</author> </author>
<generator uri="http://octopress.org/">Octopress</generator>
{% for post in site.posts limit: 20 %} {% for post in site.posts limit: 20 %}
<entry> <entry>