From 2ac464a307767f3206bfeea10b9729716157f175 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 26 Sep 2015 23:04:13 +0200 Subject: [PATCH] fix goodies display --- _src/_includes/articles.html | 12 ++++++------ .../2012-07-16-using-kbd-for-fun-and-profit.md | 5 ++--- _src/_posts/2012-08-07-projectpurple.md | 8 +++----- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/_src/_includes/articles.html b/_src/_includes/articles.html index e6501253..2b1192bc 100644 --- a/_src/_includes/articles.html +++ b/_src/_includes/articles.html @@ -63,13 +63,13 @@ {% capture has_more %}{{ post.content | has_excerpt }}{% endcapture %} - {% if has_more == 'true' %} - {{ post.content | post.excerpt | excerpt | markdownify }} - {% else %} - {% unless post.categories contains "goodies" and page.path contains "goodies" %} + {% unless post.categories contains "goodies" and page.path contains "goodies" %} + {% if has_more == 'true' %} + {{ post.content | post.excerpt | excerpt | markdownify }} + {% else %} {{ post.excerpt | markdownify }} - {% endunless %} - {% endif %} + {% endif %} + {% endunless %} {% if post.categories contains "goodies" and page.path contains "goodies" %}