Browse Source

catalog page - rewrite youtube url to be local

pull/40/head
towards-a-new-leftypol 3 years ago
parent
commit
7d7f2cab2b
  1. 2
      templates/themes/catalog/catalog.html

2
templates/themes/catalog/catalog.html

@ -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 %}

Loading…
Cancel
Save