Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTemplateData ¶
func LoadTemplateData(page string) (models.TemplateData, error)
LoadTemplateData loads template data from file. If that fails, it returns an empty TemplateData and an error
func MakeBasicTemplateData ¶
func MakeBasicTemplateData(when time.Time) models.TemplateData
makeBasicTemplateData creates a blank TemplateData containing only the time the template was generated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.