Update usage instructions

This commit is contained in:
Salim B 2021-05-01 20:03:34 +02:00 committed by Bjørn Erik Pedersen
parent 4230f8fa54
commit 44193f267d

View File

@ -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" >}} Usage: {{< getcontent path="PATH/TO/FILE" >}}
{{< insertpages path="PATH/TO/BUNDLE/" glob="*_PATTERN.md" >}} {{< getcontent path="PATH/TO/BUNDLE/" glob="*_PATTERN.md" >}}
*/}} --> */}} -->
{{- $path := .Get "path" -}} {{- $path := .Get "path" -}}
{{ $glob := .Get "glob" -}} {{ $glob := .Get "glob" -}}