浏览代码

Adds 'block table' to templates

sValo 8 年之前
父节点
当前提交
cad8ae7ae9
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      themes/nest/templates/page.html

+ 4 - 0
themes/nest/templates/page.html

@@ -29,6 +29,10 @@
 {% block content %}
     <div style="text-align: justify;" class="container content background-image: {{ PAGE_BACKGROUND }}">
         {{ page.content }}
+        {% if page.table %}
+        {% block table %}
+        {% endblock table %}
+        {% endif %}
     </div>
 {% endblock %}