package web // import "strings" templ base(title, description, keywords, canonical, heading string, head templ.Component) { if title != "" { { title } - Arav's dwelling } else { Arav's dwelling } if canonical != "" { } if head != nil { @head }
@navigation(heading)
{ children... } } var navElements = []string{"Stuff", "Mindflow", "About", "Guestbook"} templ navigation(heading string) { }