aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/article.html
diff options
context:
space:
mode:
Diffstat (limited to '.themes/classic/source/_includes/article.html')
-rw-r--r--.themes/classic/source/_includes/article.html9
1 files changed, 6 insertions, 3 deletions
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 %}
<div class="entry-content">{{ content | excerpt }}</div>
- <footer>
- <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on &rarr;</a>
- </footer>
+ {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
+ {% if excerpted == 'true' %}
+ <footer>
+ <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on &rarr;</a>
+ </footer>
+ {% endif %}
{% else %}
<div class="entry-content">{{ content }}</div>
{% endif %}