Skip to content

Commit

Permalink
post is not a type, show "read more" for all w/ excerpt
Browse files Browse the repository at this point in the history
  • Loading branch information
staeiou committed Jul 21, 2017
1 parent 55310c9 commit d0a0163
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ <h2 class="archive__item-title" itemprop="headline">

{% if post.excerpt %}
<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify }}
{% if post.collection == 'post' %}
<a href="{{ base_path }}{{ post.url }}" rel="permalink"><i>... Read more</i></a>
{% endif %}
</p>
<a href="{{ base_path }}{{ post.url }}" rel="permalink"><strong> Read more</strong></a></p>
{% endif %}

{% if post.citation and post.paperurl %}
Expand Down

0 comments on commit d0a0163

Please sign in to comment.