From d706c684999af12e2185aaf992011972129c8b29 Mon Sep 17 00:00:00 2001 From: pluja Date: Tue, 27 Feb 2024 21:46:19 +0100 Subject: [PATCH] don't break when there's no announcement --- src/frontend/templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/templates/index.html b/src/frontend/templates/index.html index cd49e5f..7b2089f 100644 --- a/src/frontend/templates/index.html +++ b/src/frontend/templates/index.html @@ -8,10 +8,13 @@ + + {{if .Announcement}}
{{.Announcement.Title}} {{.Announcement.Body}}
+ {{end}}