From 2bbb07ac74a32409e85f1d879c1e5c2e6282bb62 Mon Sep 17 00:00:00 2001 From: tvluke <tvluke@chaotikum.org> Date: Sun, 7 Jan 2024 13:56:06 +0100 Subject: [PATCH] do not show future releaeses --- _includes/media-list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/media-list.html b/_includes/media-list.html index 16e357d6..ea74002c 100644 --- a/_includes/media-list.html +++ b/_includes/media-list.html @@ -47,7 +47,7 @@ {% include media-in-list.html -%} {% endif %} {% endif %} - {% if video.release_date and video.release_date != '' %} + {% if video.release_date and video.release_date != '' and releasedate < nowunix %} {% assign mediasize = mediasize | plus: 1 -%} {% assign m2 = max | minus: 1 -%} {% if counter > m2 -%} -- GitLab