mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 19:52:38 +00:00
Update usage instructions
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4230f8fa54
commit
44193f267d
@@ -1,8 +1,8 @@
|
||||
<!-- {{/*
|
||||
Insert page `.Content` from a (headless) bundle; you can insert `.Content` from multiple page resources of the same bundle by specifying `glob`
|
||||
Insert `.Content` from a (headless) bundle; you can insert `.Content` from multiple page resources of the same bundle by specifying `glob`
|
||||
|
||||
Usage: {{< insertpages path="PATH/TO/FILE" >}}
|
||||
{{< insertpages path="PATH/TO/BUNDLE/" glob="*_PATTERN.md" >}}
|
||||
Usage: {{< getcontent path="PATH/TO/FILE" >}}
|
||||
{{< getcontent path="PATH/TO/BUNDLE/" glob="*_PATTERN.md" >}}
|
||||
*/}} -->
|
||||
{{- $path := .Get "path" -}}
|
||||
{{ $glob := .Get "glob" -}}
|
||||
|
||||
Reference in New Issue
Block a user