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