Don't show the read more link for tweet posts
This commit is contained in:
parent
32b2fe69c5
commit
3bd8fcd70a
|
@ -15,11 +15,13 @@
|
|||
<p>{{ post.excerpt }}</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
|
||||
Read more
|
||||
<span class="visuallyhidden">about '{{ post.title }}'</span>
|
||||
→
|
||||
</a>
|
||||
</div>
|
||||
{% if not post.type == 'tweet' %}
|
||||
<div>
|
||||
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
|
||||
Read more
|
||||
<span class="visuallyhidden">about '{{ post.title }}'</span>
|
||||
→
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Reference in a new issue