Documentation ¶
Index ¶
- func Container(children ...g.Node) g.Node
- func LookupEnvOrString(key string, defaultVal string) string
- func Navbar(currentPath string, links []PageLink) g.Node
- func NavbarLink(path, text string, active bool) g.Node
- func Page(title, path string, body g.Node) g.Node
- func PageFooter() g.Node
- func Prose(children ...g.Node) g.Node
- func Setup()
- type PageLink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupEnvOrString ¶
LookupEnvOrString gets a value from the environment or returns the specified default value
func NavbarLink ¶
NavbarLink is a link in the Navbar.
func PageFooter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.