Update link text

This commit is contained in:
Oliver Davies 2019-04-12 21:20:17 +01:00
parent 8423494720
commit 4f37aa9338

View file

@ -64,7 +64,11 @@ episodes:
{% if episode.url %}
<a href="{{ episode.url }}" class="inline-block mt-2 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800">
{{ episode.video ? 'Watch' : 'Listen to' }} this
{% if episode.video %}
Watch {{ episode.video and episode.audio ? 'or listen to' }}
{% elseif episode.audio %}
Listen to
{% endif %} this
<span class="visuallyhidden">{{ podcast.name }}</span>
episode &rarr;
</a>