diff options
Diffstat (limited to 'feed.xml.tmpl')
| -rw-r--r-- | feed.xml.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/feed.xml.tmpl b/feed.xml.tmpl index 961ee41..c95aa53 100644 --- a/feed.xml.tmpl +++ b/feed.xml.tmpl @@ -15,6 +15,7 @@ <id>{{.CanonicalURL}}</id> <published>{{rfc3339 (index .Meta "post_date")}}</published> <updated>{{if index .Meta "updated"}}{{rfc3339 (index .Meta "updated")}}{{else}}{{rfc3339 (index .Meta "post_date")}}{{end}}</updated> - <content type="html">{{xml (joinSections .Sections)}}</content> + {{with .Sections}}<content type="html">{{xml (index . 0)}}</content> + {{end}} </entry>{{end}} </feed> |
