mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 11:14:50 -04:00
Add after
to template function documentation
This commit is contained in:
parent
dfddc8bfbf
commit
2b0b4760ca
@ -76,6 +76,16 @@ e.g.
|
|||||||
{{ .Render "summary" }}
|
{{ .Render "summary" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
### after
|
||||||
|
Slices an array to only the items after the Xth item. Use this in
|
||||||
|
combination with `first` use both halves of an array split a item
|
||||||
|
X.
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
|
||||||
|
{{ range after 10 .Data.Pages }}
|
||||||
|
{{ .Render "title" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
### getenv
|
### getenv
|
||||||
Returns the value of an environment variable.
|
Returns the value of an environment variable.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user