catalog page - rewrite youtube url to be local
This commit is contained in:
parent
ad7eb3ece2
commit
7d7f2cab2b
|
@ -63,7 +63,7 @@
|
||||||
<div class="thread grid-li grid-size-small">
|
<div class="thread grid-li grid-size-small">
|
||||||
<a href="{{post.link}}">
|
<a href="{{post.link}}">
|
||||||
{% if post.youtube %}
|
{% if post.youtube %}
|
||||||
<img src="//img.youtube.com/vi/{{ post.youtube }}/0.jpg"
|
<img src="/vi/{{ post.youtube }}/0.jpg"
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{post.file}}"
|
<img src="{{post.file}}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue