From e6ec8247eb96a0356af875201c3ca179150ff97c Mon Sep 17 00:00:00 2001 From: Diego Garcia Date: Sun, 14 Feb 2016 11:52:23 -0200 Subject: [PATCH] better support for `summary` plugin --- templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index.html b/templates/index.html index 59f58dc..227219a 100755 --- a/templates/index.html +++ b/templates/index.html @@ -34,6 +34,8 @@ {% if SHOW_FULL_ARTICLE %} {{ article.content }} + {% elif article.has_summary %} + {{ article.summary }} {% elif article.summary %} {{ article.summary|truncate(140) }} {% endif %}