Documentation ¶
Overview ¶
Package site implements site building.
Index ¶
Constants ¶
View Source
const TemplateExt = ".tmpl"
TemplateExt is a template file extension.
Variables ¶
View Source
var SupportedFormats = []string{".html", ".md"}
SupportedFormats contains supported page formats.
Functions ¶
This section is empty.
Types ¶
type Page ¶ added in v0.10.0
type Page struct { URI string `yaml:"uri"` Content string `yaml:"-"` Title string `yaml:"title"` Description string `yaml:"description"` MetaTags map[string]string `yaml:"meta_tags"` Template string `yaml:"template"` // contains filtered or unexported fields }
Page represents a site page.
Click to show internal directories.
Click to hide internal directories.