changeset 1462:20ff5996c3a6

Fix broken +blog and +blog_entry views.
author Pavel Sviderski <pavel@psviderski.name>
date Sun, 29 Jul 2012 20:21:44 +0200
parents 707c7db1b645
children fc55b35066ee
files MoinMoin/templates/blog_layout.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/blog_layout.html	Sun Jul 29 18:26:20 2012 +0800
+++ b/MoinMoin/templates/blog_layout.html	Sun Jul 29 20:21:44 2012 +0200
@@ -19,7 +19,7 @@
         {% endif %}
     </div>
     <div class="moin-blog-entry-content">
-        {{ entry_item._render_data()|safe }} {# rendered blog entry content #}
+        {{ entry_item.content._render_data()|safe }} {# rendered blog entry content #}
     </div>
     <div class="moin-blog-entry-bottominfo">
         {% set tags = entry_item.meta['tags']|sort %}
@@ -52,7 +52,7 @@
 {% endmacro %}
 
 {% if blog_item %}
-    {% set blog_header = blog_item._render_data()|safe %}
+    {% set blog_header = blog_item.content._render_data()|safe %}
     {% set blog_name = blog_item.name %}
     {% set supertags = blog_item.meta['supertags'] %}
 {% endif %}