From e8e85e9a0a34efa11d9f25c98457e233f5d321a8 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sat, 2 May 2020 20:00:33 +0900 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98theme/templates/index.html?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/templates/index.html | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/theme/templates/index.html b/theme/templates/index.html index 253cf59..46bceb7 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -41,23 +41,31 @@ - {% for article in articles %} + {% for category, articles in categories %} -
- - {{ article.title }} - -
+ {% if category.name == 'notes' %} -
- {{ article.content }} -
+ {% for article in articles %} - {% if not HIDE_DATE %} - - {% endif %} +
+ + {{ article.title }} + +
+ +
+ {{ article.content }} +
+ + {% if not HIDE_DATE %} + + {% endif %} + + {% endfor %} + + {% endif %} {% endfor %}