Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildrenRenderConfig ¶
type PageData ¶
type PageData struct {
Title string
Slug string
URL string
Path string
RawContent string
HTMLContent string
Frontmatter map[string]any
IsIndex bool
Children []PageData
ChildrenRenders []ChildrenRenderConfig
QuoteCodeRenders []QuoteCodeRenderConfig
}
func GetChildrenForPath ¶
type QuoteCodeRenderConfig ¶
type SiteContext ¶
type SiteContext struct {
Config config.SiteConfig
Pages []PageData
CurrentPage *PageData
}
func BuildContext ¶
func BuildContext(siteConfig config.SiteConfig, pages []PageData) SiteContext
Click to show internal directories.
Click to hide internal directories.