Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Theme ¶
type Theme struct {
// contains filtered or unexported fields
}
Theme contains templates
func (*Theme) RenderIndex ¶
RenderIndex renders index page template
func (*Theme) RenderPage ¶
RenderPage renders single page template
func (*Theme) RenderPost ¶
RenderPost renders single page template
func (*Theme) SetConfig ¶
func (t *Theme) SetConfig(conf *config.SiteConfig)
SetConfig sets site config for render context
Click to show internal directories.
Click to hide internal directories.