Don't show the read more link for tweet posts

This commit is contained in:
Oliver Davies 2019-06-06 19:40:55 +01:00
parent 32b2fe69c5
commit 3bd8fcd70a

View file

@ -15,6 +15,7 @@
<p>{{ post.excerpt }}</p> <p>{{ post.excerpt }}</p>
</div> </div>
{% if not post.type == 'tweet' %}
<div> <div>
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800"> <a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
Read more Read more
@ -22,4 +23,5 @@
&rarr; &rarr;
</a> </a>
</div> </div>
{% endif %}
</div> </div>