fix clustername array init size

This commit is contained in:
Christoph Kluge
2026-01-14 16:03:34 +01:00
parent c6465ad9e5
commit 5d376e6865

View File

@@ -261,7 +261,7 @@ func RenderTemplate(rw http.ResponseWriter, file string, page *Page) {
} }
if page.Clusters == nil { if page.Clusters == nil {
page.Clusters = make([]string, 2) page.Clusters = make([]string, 0)
} }
if page.SubClusters == nil { if page.SubClusters == nil {