diff options
-rw-r--r-- | feed.xml | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"> - <link href="/feed.xml" rel="self" type="application/atom+xml" /> + <link href="{{ root }}/feed.xml" rel="self" type="application/atom+xml" /> <link href="{{ root }}/" rel="alternate" type="{{ mime }}" /> - <updated>{{ now }}</updated> - <id>/feed.xml</id> + <updated>{{ now.isoformat() }}</updated> + <id>{{ root }}/feed.xml</id> <title>boringcactus</title> <subtitle>boringcactus's blog posts</subtitle> <author> @@ -16,8 +16,8 @@ <link href="{{ root }}/{{ post.url }}.{{ ext }}" rel="alternate" type="{{ mime }}" title="{{ post.title }}" /> <published>{{ post.date }}T00:00:00Z</published> <updated>{{ post.date }}T00:00:00Z</updated> - <id>{{ post.url }}</id> - <content type="{{ mime }}">{{ post | attr(content_attr) }}</content> + <id>{{ root }}/{{ post.url }}.{{ ext }}</id> + <content type="{{ content_type }}">{{ post | attr(content_attr) }}</content> </entry> {% endfor %} </feed> |