mirror of
https://github.com/86Box/86box.github.io.git
synced 2026-02-22 01:25:35 -07:00
Tweak image caption margins and allow Markdown
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<figure class="image">
|
||||
<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>
|
||||
<figcaption><div class="imagecaption" markdown="block">
|
||||
{{ include.description }}
|
||||
</div></figcaption>
|
||||
{% endif %}
|
||||
</figure>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<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 }}">[Watch YouTube video]</a></iframe>
|
||||
{% if include.description %}
|
||||
<div class="imagecaption">{{ include.description }}</div>
|
||||
<div class="imagecaption" markdown="block">
|
||||
{{ include.description }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user