Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterParser ¶
func RegisterParser(p Parser)
func RegisterParsers ¶
func RegisterParsers(parsers ...Parser)
Types ¶
type Parser ¶
type Parser interface { ParseFile(name, content string) (map[string]*parse.Tree, error) RequiredHtmlFuncs() htmlTemplate.FuncMap RequiredTextFuncs() textTemplate.FuncMap ApplicableExtensions() []string }
type Template ¶
type Template struct { HtmlItem *htmlTemplate.Template TextItem *textTemplate.Template Parent *TemplateLoader }
type TemplateLoader ¶
type TemplateLoader struct {
// contains filtered or unexported fields
}
func NewTemplateLoader ¶
func NewTemplateLoader(viewPaths, layoutPaths []string) (*TemplateLoader, error)
func (*TemplateLoader) Refresh ¶
func (tl *TemplateLoader) Refresh() error
Directories ¶
Path | Synopsis |
---|---|
app
|
|
bham or the "blocky hypertext abstraction markup" is an attempt to take what is good about languages like haml, jade, slim, etc.
|
bham or the "blocky hypertext abstraction markup" is an attempt to take what is good about languages like haml, jade, slim, etc. |
Click to show internal directories.
Click to hide internal directories.