aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-17 16:49:19 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-17 16:49:19 -0700
commitfe33921b71d498e0a4d3468fdbe240a4931d493a (patch)
tree8fa3631d89e87c5742d255b39f27c52496637989
parent31e6e2d3b79824875c90ba4606060441e141bc8a (diff)
downloadboringcactus.com-fe33921b71d498e0a4d3468fdbe240a4931d493a.tar.gz
boringcactus.com-fe33921b71d498e0a4d3468fdbe240a4931d493a.zip
satisfy some Atom validator nitpicks
-rw-r--r--feed.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/feed.xml b/feed.xml
index 551c13e..089fb8a 100644
--- a/feed.xml
+++ b/feed.xml
@@ -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>