Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVersionInfo ¶
func SetVersionInfo(version string)
Types ¶
type TemplateData ¶
type TemplateData struct {
// The specific page that is being rendered in this template execution.
Page *content.ContentFile `yaml:"Page"`
// A slice of all content pages in this website.
Pages []*content.ContentFile `yaml:"Pages"`
// Any extra data that doesn't have anything to do with pages that we want
// to make available in templates.
Computed Computed `yaml:"Computed"`
Config config.ConfigYaml `yaml:"Config"`
}
TemplateData is the data that gets passed when building a template.
Click to show internal directories.
Click to hide internal directories.