mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 17:24:47 -04:00
Update usage instructions
This commit is contained in:
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" -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user