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>
|
<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
|
||||||
→
|
<span class="visuallyhidden">about '{{ post.title }}'</span>
|
||||||
</a>
|
→
|
||||||
</div>
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue