fixed bug where all posts showed "read more" link

This commit is contained in:
Brandon Mathis 2012-02-12 20:04:42 -06:00
parent 55c5f8d4c1
commit 382c557e21

View File

@ -13,11 +13,15 @@
</header>
{% endunless %}
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
{% if index and excerpted %}
{% if index and excerpted != 'false' %}
<div class="entry-content">{{ content | excerpt }}</div>
<footer>
<a rel="full-article" href="{{ permalink }}">{{ site.excerpt_link }}</a>
</footer>
{% puts %}
title: {{ article_title }}
excerpted: {{ excerpted }}
{% endputs %}
{% else %}
<div class="entry-content">{{ content }}</div>
{% endif %}