package web import "strings" import "net/http" import "git.arav.su/Arav/dwelling-home/internal/version" import "git.arav.su/Arav/dwelling-home/pkg/util" templ base(title, description, keywords, canonical string, r *http.Request, head templ.Component) { if title != "" && title != "Home" { { title } - Arav's dwelling } else { Arav's dwelling } if canonical != "" { } if head != nil { @head }
Arav's dwelling Welcome to my sacred place, wanderer {{ mainNavSections := []string{"Stuff", "Mindflow", "About", "Guestbook"} }} {{ mainNavLinks := []templ.SafeURL{"/stuff", "/mindflow", "/about", "/guestbook"} }}
{ children... }
}