Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶
func RenderTemplate(tplContent string, data any) (s string, err *defaultError.Error)
RenderTemplate renders a template with injected data
Types ¶
type ContentBlock ¶
type ContentBlock struct { Title string SubHead string Content string Link ContentLink }
ContentBlock represents a content block entry
type ContentLink ¶
ContentLink represents a content link entry
Click to show internal directories.
Click to hide internal directories.