Documentation ¶
Overview ¶
Copyright (C) 2024 early (LGPL)
Copyright (C) 2024 early (LGPL)
Index ¶
- type Config
- type Page
- func (p *Page) Error() error
- func (p *Page) FileDependencies() []string
- func (p *Page) IncludeTagName() bool
- func (p *Page) Includes() []compile.Source
- func (p *Page) Name() string
- func (p *Page) OnLoad() render.OnLoadFunc
- func (p *Page) Raw() string
- func (p *Page) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (p *Page) Source() include.Opener
- func (p *Page) TemplateFuncs() template.FuncMap
- func (p *Page) With(optional ...func(*Page)) *Page
- type RootData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
func Static ¶
Static returns a new Page that is just the passed source file, with no additional options/parts/etc.
func (*Page) FileDependencies ¶
FileDependencies returns a list of absolute paths to files that are used in this page and its dependencies.
func (*Page) IncludeTagName ¶
Pages are never included as a child, so this is always false.
func (*Page) OnLoad ¶
func (p *Page) OnLoad() render.OnLoadFunc
Click to show internal directories.
Click to hide internal directories.