2013-04-01 11:23:10 -04:00
|
|
|
{namespace coleslaw.theme.feeds}
|
2012-08-29 23:25:41 -04:00
|
|
|
|
2014-04-08 16:51:13 -04:00
|
|
|
{template atom}
|
2012-08-29 23:25:41 -04:00
|
|
|
<?xml version="1.0"?>{\n}
|
|
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
|
|
|
2012-09-12 14:24:51 -04:00
|
|
|
<title>{$config.title}</title>
|
|
|
|
<link href="{$config.domain}"/>
|
|
|
|
<link type="application/atom+xml" rel="self" href="{$config.domain}/atom.xml"/>
|
2012-08-29 23:25:41 -04:00
|
|
|
<updated>{$pubdate}</updated>
|
|
|
|
<author>
|
2012-09-12 14:24:51 -04:00
|
|
|
<name>{$config.author}</name>
|
2012-08-29 23:25:41 -04:00
|
|
|
</author>
|
|
|
|
|
2014-04-15 20:39:13 -04:00
|
|
|
{foreach $post in $content.content}
|
2012-08-29 23:25:41 -04:00
|
|
|
<entry>
|
2014-08-27 14:08:48 -04:00
|
|
|
<link type="text/html" rel="alternate" href="{$config.domain}/{$post.url}"/>
|
2012-08-29 23:25:41 -04:00
|
|
|
<title>{$post.title}</title>
|
|
|
|
<published>{$post.date}</published>
|
|
|
|
<updated>{$post.date}</updated>
|
|
|
|
<author>
|
2012-09-12 14:24:51 -04:00
|
|
|
<name>{$config.author}</name>
|
|
|
|
<uri>{$config.domain}</uri>
|
2012-08-29 23:25:41 -04:00
|
|
|
</author>
|
2013-04-25 16:40:55 +08:00
|
|
|
<content type="html">{$post.text |escapeHtml}</content>
|
2012-08-29 23:25:41 -04:00
|
|
|
</entry>
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
</feed>
|
|
|
|
{/template}
|