Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertPage ¶
func InsertPage(p *Page)
Types ¶
type Page ¶
type Page struct { Options Options `handlebars:"document"` Content string `handlebars:"content"` Headings []*Heading `handlebars:"headings"` Global *configuration.Configuration `handlebars:"global"` Pages []*Page `handlebars:"pages"` RelativePath string // contains filtered or unexported fields }
func NewFromFile ¶
func NewFromFile(pagePath string, configurationOptions *configuration.Configuration) (page *Page, err error)
func (*Page) CreateFile ¶
func (p *Page) CreateFile(configurationOptions *configuration.Configuration, l layout.Layout) error
Click to show internal directories.
Click to hide internal directories.