Documentation ¶
Index ¶
- type Namespace
- func (ns *Namespace) API() string
- func (ns *Namespace) Admin() string
- func (ns *Namespace) Assets() string
- func (ns *Namespace) Base() string
- func (ns *Namespace) Layouts() string
- func (ns *Namespace) Storage() string
- func (ns *Namespace) Templates() string
- func (ns *Namespace) Theme() string
- func (ns *Namespace) Uploads() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace defines the methods for paths to be used as template functions.
func (*Namespace) Layouts ¶
Layouts
Returns the directory where page layouts are stored.
Example: {{ layoutsPath }}
func (*Namespace) Storage ¶
Storage
Returns the Storage path of the project.
Example: {{ storagePath }}
func (*Namespace) Templates ¶
Templates
Returns the directory where page templates are stored.
Example: {{ templatesPath }}
Click to show internal directories.
Click to hide internal directories.