From 54e4a44bf50e4cbe28977c20a75a5102230dcaa9 Mon Sep 17 00:00:00 2001 From: Solomon Victorino Date: Sat, 11 May 2024 23:56:55 -0600 Subject: [PATCH] fix: hide About for empty album descriptions --- views/album.templ | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/views/album.templ b/views/album.templ index 1e6d9c6..bac1b96 100644 --- a/views/album.templ +++ b/views/album.templ @@ -23,13 +23,15 @@ templ AlbumPage(a data.Album) { } -
-
-

About

- -

{ a.About[1] }

+ if a.About[0] != "" { +
+
+

About

+ +

{ a.About[1] }

+
-
+ }
} }