diff --git a/static/css/clean-blog.css b/static/css/clean-blog.css index f54f4b9..f5bed26 100755 --- a/static/css/clean-blog.css +++ b/static/css/clean-blog.css @@ -404,3 +404,7 @@ img::-moz-selection { body { webkit-tap-highlight-color: #0085a1; } +.article-summary { + padding-top:10px; + padding-bottom: 10px; +} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 7627c34..6eeba7a 100755 --- a/templates/index.html +++ b/templates/index.html @@ -49,10 +49,14 @@ {% if SHOW_FULL_ARTICLE %} {{ article.content }} - {% elif article.has_summary %} - {{ article.summary }} - {% elif article.summary %} - {{ article.summary|striptags|truncate(140) }} + {% else %} +

+ {% if article.has_summary %} + {{ article.summary }} + {% elif article.summary %} + {{ article.summary|striptags|truncate(140) }} + {% endif %} +

{% endif %}

Posted by {% for author in article.authors %}