catalog.html: fix youtube preview

This commit is contained in:
Zankaria 2024-09-18 22:02:57 +02:00
parent 195ddead97
commit 8fce7e5d4d

View file

@ -71,7 +71,7 @@
<div class="thread grid-li grid-size-small">
<a href="{{post.link}}">
{% if post.youtube %}
<img src="/vi/{{ post.youtube }}/0.jpg"
<img src="https://img.youtube.com/vi/{{ post.youtube }}/0.jpg"
{% else %}
<img src="{{post.file}}"
{% endif %}