Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoListing is returned when there is no configured Listing template for the current directory ErrNoListing = errors.New("no listing template available at this depth of the tree") )
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct {
Site *config.Site
Section *config.Section
Category *config.Category
Page *content.Page
Pages content.Pages
// contains filtered or unexported fields
}
Category is all of the data necessary to render an Category index page
func NewCategory ¶
NewCategory creates a Category
type Dir ¶
type Dir struct {
Site *config.Site
Section *config.Section
Pages content.Pages
// contains filtered or unexported fields
}
Dir contains all of the data necessary to configure rendering for a Directory
func NewSectionDir ¶
NewSectionDir creates a new Section
type Index ¶
type Index struct {
Site *config.Site
Section *config.Section
Page *content.Page
Pages content.Pages
// contains filtered or unexported fields
}
Index is all of the data necessary to render an index page
type Page ¶
type Page struct {
Site *config.Site
Section *config.Section
Page *content.Page
// contains filtered or unexported fields
}
Page contains all of the data necessary to render a single content Page
type Section ¶
type Section struct {
Site *config.Site
Config *config.Section
// contains filtered or unexported fields
}
Section contains all of the data necessary to configure rendering for a section
func NewSection ¶
NewSection creates a new Section
Click to show internal directories.
Click to hide internal directories.