浏览代码

Add comments to Page

Update #63
Talha Mansoor 11 年之前
父节点
当前提交
d7eb65283b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      templates/page.html

+ 4 - 0
templates/page.html

@@ -38,6 +38,8 @@
             {% endif %}
 
             {{ page.content }}
+            {% from 'comments.html' import comments with context %}
+            {{ comments(page) }}
         </div>
         <section>
         <div class="span2" style="float:right;font-size:0.9em;">
@@ -51,4 +53,6 @@
 
     {% block script %}
     {{ super() }}
+    {% from 'comments.html' import comments_script with context %}
+    {{ comments_script(page) }}
     {% endblock script %}