[fix] image hotlinking
This commit is contained in:
parent
6f21dad393
commit
9104bf6f8d
File diff suppressed because one or more lines are too long
@ -86,7 +86,7 @@
|
||||
<div id="content" class="h-full flex flex-col overflow-auto rounded bg-secondary px-6 pt-6 gap-4 my-3">
|
||||
<div class="flex justify-center w-full">
|
||||
<a target="_blank" href="https://www.youtube.com/watch?v={{ metadata.video_id }}">
|
||||
<img class="h-32 rounded" src="https://i.ytimg.com/vi_webp/{{ metadata.video_id }}/maxresdefault.webp"></img>
|
||||
<img class="h-32 aspect-video object-cover rounded" src="https://i1.ytimg.com/vi/{{ metadata.video_id }}/hqdefault.jpg"></img>
|
||||
</a>
|
||||
</div>
|
||||
<div class="mx-auto flex justify-center gap-4 italic">
|
||||
|
@ -78,7 +78,7 @@
|
||||
href="/articles/{{ article.video_id }}"
|
||||
class="flex items-center w-11/12 md:w-5/6 lg:w-4/6 mx-auto rounded px-6 py-3 bg-secondary hover:bg-tertiary transition-all duration-200"
|
||||
>
|
||||
<img class="h-14 mr-6 rounded" src="https://i.ytimg.com/vi_webp/{{ article.video_id }}/maxresdefault.webp"></img>
|
||||
<img class="h-14 mr-6 aspect-video object-cover rounded" src="https://i1.ytimg.com/vi/{{ article.video_id }}/hqdefault.jpg"></img>
|
||||
<span>{{ article.title }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user