Discover Packages
github.com/gohugoio/hugo
tpl
templates
package
Version:
v0.62.2
Opens a new window with list of versions in this module.
Published: Jan 5, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package templates provides template functions for working with templates.
type Namespace struct {
}
Namespace provides template functions for the "templates" namespace.
New returns a new instance of the templates-namespaced template functions.
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
¶
Click to show internal directories.
Click to hide internal directories.