Documentation ¶
Index ¶
- func Body(w io.Writer) error
- func Footer(w io.Writer) error
- func GetJSBlock(buffer *bytes.Buffer, js string)
- func Head(w io.Writer, title string, customHeaderBlock string) error
- func Message(w http.ResponseWriter, r *http.Request, title, message string) error
- func Nav(w http.ResponseWriter, r *http.Request, current string) error
- func NavCurrent(cur, nav string) string
- func OffCanvas(w io.Writer, current string) error
- func RegisterNav(name, displayName string, url string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJSBlock ¶
GetJSBlock return a JS wrapped code block
func NavCurrent ¶
NavCurrent return the current nav html code snippet
func RegisterNav ¶
RegisterNav register a custom nav link
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.