Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultViewPath = "views/"
Variables ¶
This section is empty.
Functions ¶
func FreePublisher ¶
func FreePublisher(t CTemplate)
Types ¶
type SunnyPublisher ¶
type SunnyPublisher struct {
// contains filtered or unexported fields
}
func NewSunnyPublisher ¶
func NewSunnyPublisher(p string) *SunnyPublisher
func (*SunnyPublisher) AddRenderer ¶
func (p *SunnyPublisher) AddRenderer(ext string, renderer Renderer)
if template can't be found and there exists a publisher for the specific ext, the publisher will be used to render and publish the content
Click to show internal directories.
Click to hide internal directories.