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,11 +15,13 @@
<p>{{ post.excerpt }}</p> <p>{{ post.excerpt }}</p>
</div> </div>
<div> {% if not post.type == 'tweet' %}
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800"> <div>
Read more <a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
<span class="visuallyhidden">about '{{ post.title }}'</span> Read more
&rarr; <span class="visuallyhidden">about '{{ post.title }}'</span>
</a> &rarr;
</div> </a>
</div>
{% endif %}
</div> </div>