Skip to content

Commit

Permalink
Merge pull request #18 from ereinach/patch-1
Browse files Browse the repository at this point in the history
updating API call for post.preview
  • Loading branch information
Junaid Qadir authored Nov 16, 2018
2 parents a2a3a2e + 0ad0e9f commit e9dd147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/tease.twig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<article class="tease tease-{{post.post_type}}" id="tease-{{post.ID}}">
{% block content %}
<h2 class="h2"><a href="{{post.link}}">{{post.title}}</a></h2>
<p>{{post.get_preview}}</p>
<p>{{post.preview}}</p>

{% if post.get_thumbnail %}
<img src="{{post.thumbnail.src}}" />
{% endif %}
{% endblock %}
</article>
</article>

0 comments on commit e9dd147

Please sign in to comment.