Documentation ¶
Index ¶
- Constants
- func From(start int, s []string) []string
- func FromTo(start int, end int, s []string) []string
- func Generate(inputFolder string, outputFolder string, configPath string) error
- func IsSite(data interface{}) bool
- func LoadText(filename string) (string, error)
- func PostsByYear(site Site) []yearPosts
- func To(end int, s []string) []string
- type Content
- type Link
- type Page
- type Post
- type Site
Constants ¶
View Source
const ( LinkYAMLTextField = "text" LinkYAMLTargetField = "target" )
Variables ¶
This section is empty.
Functions ¶
func PostsByYear ¶
func PostsByYear(site Site) []yearPosts
Types ¶
type Link ¶
func CreateLinkFromYAML ¶
func CreateLinkFromYAML(yaml *simpleyaml.Yaml) (Link, error)
Click to show internal directories.
Click to hide internal directories.