changeset 1688:f676a325b974

Add the itemviews panel for blog and blog entry items.
author Pavel Sviderski <pavel@psviderski.name>
date Wed, 15 Aug 2012 16:41:24 +0200
parents 51e1e8b0b7f2
children f77870dd132f
files MoinMoin/templates/blog_layout.html
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/blog_layout.html	Tue Aug 14 00:40:43 2012 +0800
+++ b/MoinMoin/templates/blog_layout.html	Wed Aug 15 16:41:24 2012 +0200
@@ -1,6 +1,7 @@
 {% extends theme("layout.html") %}
 {% import "forms.html" as forms %}
 {% import "utils.html" as utils %}
+{% import "itemviews.html" as itemviews with context %}
 
 {% macro show_blog_entry(entry_item) %}
     {% if entry_item.meta['summary'] %}
@@ -74,6 +75,10 @@
     {% endmacro %}
 {% endif %}
 
+{% block header_itemviews %}
+    {{ itemviews }}
+{% endblock %}
+
 {% block content %}
     {% block content_data %}
         <div id="moin-content-data">
@@ -93,3 +98,7 @@
         </div>
     {% endblock %}
 {% endblock %}
+
+{% block footer_itemviews %}
+    {{ itemviews }}
+{% endblock %}