diff --git a/theme/templates/category.html b/theme/templates/category.html index 463affd..0846d74 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -21,33 +21,35 @@ - {% if category.page %} + {% if category.page.content %} {{ category.page.content }} {% endif %} - - - - {% for article in dates %} - - - - - - {{ article.title }} - - - {{ article.summary|striptags|e }} + {% if not category.page.hide_list %} + + + + {% for article in dates %} + + + + + + {{ article.title }} + + + {{ article.summary|striptags|e }} + - - - - {% endfor %} + + + {% endfor %} + - - + + {% endif %} {% endblock %}