mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 15:25:04 -04:00
fixed bug where all posts showed "read more" link
This commit is contained in:
parent
55c5f8d4c1
commit
382c557e21
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user