changeset 264:2c282c244a3e

bulma (blog/atom.xml): fixed use of blog items
author Goffi <goffi@goffi.org>
date Sun, 02 Aug 2020 20:58:21 +0200
parents 878e7aee0e4a
children ae365c036a58
files sat_templates/templates/bulma/blog/atom.xml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/blog/atom.xml	Sun Aug 02 20:28:38 2020 +0200
+++ b/sat_templates/templates/bulma/blog/atom.xml	Sun Aug 02 20:58:21 2020 +0200
@@ -12,7 +12,7 @@
     <link href='{{xmpp_uri}}' type='application/atom+xml' rel='alternate'/>
     <id>{{xmpp_uri}}</id>
     <updated>{{updated|date_fmt('iso')}}</updated>
-    {% for item in items %}
+    {% for item in blog_items['items'] %}
         <entry>
             {% if item.title_xhtml %}
                 <title type='xhtml'>{{item.title_xhtml}}</title>