Skip to content

Commit 6115414

Browse files
committed
Make content type html in Atom feed
1 parent 8192bf1 commit 6115414

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/atom.pt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
<updated>${now.isoformat(timespec="seconds")}</updated>
1111

1212
<entry tal:repeat="post posts">
13-
<title><![CDATA[${post.title}]]></title>
13+
<title><![CDATA[${structure:post.title}]]></title>
1414
<link href="https://blog.piwheels.org/${post.link}/" />
1515
<id>https://blog.piwheels.org/${post.link}</id>
1616
<published>${post.published.isoformat(timespec="seconds")}</published>
1717
<updated>${post.modified.isoformat(timespec="seconds")}</updated>
1818
<category tal:repeat="tag post.tags" term="${tag}" />
19-
<summary><![CDATA[${post.excerpt}]]></summary>
20-
<content><![CDATA[${structure:post.html}]]></content>
19+
<summary><![CDATA[${structure:post.excerpt}]]></summary>
20+
<content type="html"><![CDATA[${structure:post.html}]]></content>
2121
</entry>
2222
</feed>

0 commit comments

Comments
 (0)