mirror of
https://github.com/86Box/86box.github.io.git
synced 2026-02-21 17:15:35 -07:00
Remove redundant alt text from captioned images, and improve YouTube fallback link
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<figure class="image">
|
||||
<a href="{{ include.url }}"><img class="image" src="{{ include.thumbnail | default: include.url }}" alt="{{ include.description }}" /></a>
|
||||
<a href="{{ include.url }}"><img class="image" src="{{ include.thumbnail | default: include.url }}" /></a>
|
||||
{% if include.description %}
|
||||
<figcaption><div class="imagecaption">{{ include.description }}</div></figcaption>
|
||||
{% endif %}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="image">
|
||||
<iframe class="youtube" src="https://www.youtube-nocookie.com/embed/{{ include.video }}"><a href="https://www.youtube.com/watch?v={{ include.video }}">YouTube video</a></iframe>
|
||||
<iframe class="youtube" src="https://www.youtube-nocookie.com/embed/{{ include.video }}"><a href="https://www.youtube.com/watch?v={{ include.video }}">[Watch YouTube video]</a></iframe>
|
||||
{% if include.description %}
|
||||
<div class="imagecaption">{{ include.description }}</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user