Skip to content

Commit

Permalink
Add override flag to enable/disable excerpts individually per post.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoelayda committed Sep 19, 2020
1 parent b4c6bdf commit 633ddeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1 class="post-title">

<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time>

{% if site.blog.truncated_preview %}
{% if post.truncated_preview == true or site.blog.truncated_preview and post.truncated_preview != false %}
{{ post.excerpt }}
<a href="{{ site.baseurl }}{{ post.url }}">Read more</a>
{% else %}
Expand Down

0 comments on commit 633ddeb

Please sign in to comment.