Browse Source

Adds 'block table' to templates

sValo 8 năm trước cách đây
mục cha
commit
cad8ae7ae9
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 %}