diff options
author | Melody Horn <melody@boringcactus.com> | 2020-11-17 16:49:19 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-11-17 16:49:19 -0700 |
commit | fe33921b71d498e0a4d3468fdbe240a4931d493a (patch) | |
tree | 8fa3631d89e87c5742d255b39f27c52496637989 | |
parent | 31e6e2d3b79824875c90ba4606060441e141bc8a (diff) | |
download | boringcactus.com-fe33921b71d498e0a4d3468fdbe240a4931d493a.tar.gz boringcactus.com-fe33921b71d498e0a4d3468fdbe240a4931d493a.zip |
satisfy some Atom validator nitpicks
-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> |