From 596ec87c37d4f848e478abbbd0690e52eeb37db1 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 20 Aug 2011 16:02:37 -0400 Subject: now only excerpted articles show the "read on" link. Also the text for that link can be set in the _config.yml --- .themes/classic/source/_includes/article.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.themes/classic') diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html index 6b3fb045..fe4e9570 100644 --- a/.themes/classic/source/_includes/article.html +++ b/.themes/classic/source/_includes/article.html @@ -12,9 +12,12 @@ {% endunless %} {% if index %}
{{ content | excerpt }}
- + {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} + {% if excerpted == 'true' %} + + {% endif %} {% else %}
{{ content }}
{% endif %} -- cgit v1.2.1