diff --git a/_includes/video.html b/_includes/video.html index 79eaa38afaea2e6ce65e6ec81ee9d8cb7c4804e6..5583ade4c82378b3ae56537c937dd6069f718c38 100644 --- a/_includes/video.html +++ b/_includes/video.html @@ -1,5 +1,6 @@ <div class="image_wrapper"> -{% for vid in site.media -%} +{% assign relevent_media = site.media | where: "uid", include.uid -%} +{% for vid in relevent_media -%} {% if vid.uid == {{include.uid}} -%} {%- assign realslug = vid.url | split:'/' | last -%} <img class="vimage1" src="https://video.chaotikum.net/thumbnails/2023-11-04-nook-by-numbers.jpg">