Documentation ¶
Index ¶
- func Generate() error
- func GetAllThemes() []string
- func ShowAuthorRss(writer http.ResponseWriter, slug string) error
- func ShowAuthorTemplate(writer http.ResponseWriter, slug string, page int) error
- func ShowIndexRss(writer http.ResponseWriter) error
- func ShowIndexTemplate(writer http.ResponseWriter, page int) error
- func ShowPostTemplate(writer http.ResponseWriter, slug string) error
- func ShowTagRss(writer http.ResponseWriter, slug string) error
- func ShowTagTemplate(writer http.ResponseWriter, slug string, page int) error
- type Helper
- type Templates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllThemes ¶
func GetAllThemes() []string
func ShowAuthorRss ¶
func ShowAuthorRss(writer http.ResponseWriter, slug string) error
func ShowAuthorTemplate ¶
func ShowAuthorTemplate(writer http.ResponseWriter, slug string, page int) error
func ShowIndexRss ¶
func ShowIndexRss(writer http.ResponseWriter) error
func ShowIndexTemplate ¶
func ShowIndexTemplate(writer http.ResponseWriter, page int) error
func ShowPostTemplate ¶
func ShowPostTemplate(writer http.ResponseWriter, slug string) error
func ShowTagRss ¶
func ShowTagRss(writer http.ResponseWriter, slug string) error
func ShowTagTemplate ¶
func ShowTagTemplate(writer http.ResponseWriter, slug string, page int) error
Types ¶
type Helper ¶
type Helper struct { Name string Arguments []Helper Unescaped bool Position int Block []byte Children []Helper Function func(*Helper, *structure.RequestData) []byte BodyHelper *Helper }
Helpers are created during parsing of the theme (template files). Helpers should never be altered during template execution (Helpers are shared across all requests).
Click to show internal directories.
Click to hide internal directories.