catalog page - rewrite youtube url to be local

This commit is contained in:
towards-a-new-leftypol 2021-04-02 19:39:42 -04:00
parent e7752273f9
commit 5216f2e189

View File

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