From c4024d2ca5a7ac3c83cc0e310702c0a12ccf22b8 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Fri, 8 May 2020 10:22:54 +0200 Subject: [PATCH] fix display glitch when there is no caption --- web/media.html.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/media.html.template b/web/media.html.template index f1bf4e9..e609e90 100644 --- a/web/media.html.template +++ b/web/media.html.template @@ -9,6 +9,8 @@ {{ if ne .Caption "" }}

{{ .Caption }}

+{{ else }} +
{{ end }} {{ if eq .Type "photo" }}