From 2053cda5e14ba98881b96e864abe2218595c0302 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 28 Aug 2022 14:06:15 +0200 Subject: [PATCH] macros:link_position_marker: Fix conditional comma --- server/templates/macros.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/templates/macros.htm b/server/templates/macros.htm index 77d00e1..846b8a0 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -137,7 +137,7 @@ {{- prefix and (link.season != 0 or link.episode != 0) | tenary(", ", "") -}} {%- if link.season != 0 -%} Season {{ link.season }} - {{- link.episode != 0 | tenary(", ", "") -}} + {{- (link.episode != 0) | tenary(", ", "") -}} {%- endif -%} {%- if link.episode != 0 -%} Episode {{ link.episode }}