Versions in this module Expand all Collapse all v0 v0.0.5 Mar 24, 2022 Changes in this version + var Templates *template.Template + func MakeNavbar(r *http.Request, newNavbar []*NavbarNode) + type Common struct + FooterScripts []Script + HeadLinks []HeadLink + Language string + Localizer *language.Localizer + NavBar []*NavbarNode + PageTitle string + User *models.User + func (t *Common) AddFooterScript(s Script) + func (t *Common) AddHeadLink(l HeadLink) + func (t *Common) SetLanguage(l string) + func (t *Common) SetLocalizer(l *language.Localizer) + func (t *Common) SetNavbar(nodes []*NavbarNode) + func (t *Common) SetUser(user *models.User) + type HeadLink struct + CrossOrigin string + HRef string + Integrity string + Rel string + Sizes string + Type string + type HomeTemplate struct + type InitTemplate interface + AddFooterScript func(s Script) + AddHeadLink func(l HeadLink) + SetLanguage func(l string) + SetLocalizer func(l *language.Localizer) + SetNavbar func(nodes []*NavbarNode) + SetUser func(user *models.User) + type LoginTemplate struct + BotImage string + FormEmail string + FormError string + FormPassword string + type NavbarNode struct + Active bool + Children []NavbarNode + Disabled bool + FAIcon string + MatchStr *regexp.Regexp + Text string + URL string + type Script struct + CrossOrigin string + Integrity string + Src string