[fix] image hotlinking
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-11-12 17:26:30 -05:00
parent 6f21dad393
commit 9104bf6f8d
3 changed files with 3 additions and 3 deletions

View File

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