package partials
import "github.com/gohugoio/hugo/tpl/partials"
Index ¶
Variables ¶
var TestTemplateProvider deps.ResourceProvider
TestTemplateProvider is global deps.ResourceProvider. NOTE: It's currently unused.
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) Include ¶
Include executes the named partial and returns either a string, when the partial is a text/template, or template.HTML when html/template.
Source Files ¶
- Version
- v0.27.1
- Published
- Sep 13, 2017
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 3 hours ago –
Tools for package owners.