package partials
import "github.com/gohugoio/hugo/tpl/templates"
Index ¶
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace provides template functions for the "templates" namespace.
func New ¶
New returns a new instance of the templates-namespaced template functions.
func (*Namespace) Exists ¶
Exists returns whether the template with the given name exists. Note that this is the Unix-styled relative path including filename suffix, e.g. partials/header.html
Source Files ¶
- Version
- v0.49.1
- Published
- Oct 10, 2018
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.