From 5fedded1de97036fba0665efbe01bf8988f968f1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 21 Jun 2024 00:52:06 +0400 Subject: [PATCH] Updated templ navigation(). --- web/base.templ | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/web/base.templ b/web/base.templ index cd35f64..1cdcaaf 100644 --- a/web/base.templ +++ b/web/base.templ @@ -45,26 +45,28 @@ templ base(title, description, keywords, canonical string, head templ.Component) } -templ navigation(heading string) { - {{ links := []string{"Stuff", "Mindflow", "About", "Guestbook"} }} +templ navigation(title string) { + {{ sections := []string{"Stuff", "Mindflow", "About", "Guestbook"} }} }