Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type ExternalLink ¶
type FrontMatter ¶
type FrontMatter struct { Slug string `yaml:"url"` Title string `yaml:"title"` Subtitle string `yaml:"subtitle"` ShortTitle string `yaml:"shorttitle"` Date *time.Time `yaml:"date"` After string `yaml:"after"` Before string `yaml:"before"` HideChildren bool `yaml:"hidechildren"` ChildrenNoLink bool `yaml:"childrennolink"` Children []string `yaml:"children"` RSS bool `yaml:"rss"` Images []Image `yaml:"images"` Links []ExternalLink `yaml:"links"` }
FrontMatter is used to define properties for the page.
func (FrontMatter) URL ¶
func (fm FrontMatter) URL() string
type InternalLink ¶
type Page ¶
type PageData ¶
type PageData struct { Front *FrontMatter *Page }
type RSSChannel ¶
type RSSXML ¶
type RSSXML struct { XMLName xml.Name `xml:"rss"` Version string `xml:"version,attr"` Channels []RSSChannel `xml:"channel"` }
Click to show internal directories.
Click to hide internal directories.