ref: 40a92a062ddc6204db6e2c6cbdb5094c1068fc72
parent: c335efdd064b2c15aa52146f59ec267a2385d169
author: Ariejan de Vroom <[email protected]>
date: Wed Jun 10 19:53:39 EDT 2015
Add `after` to template function documentation
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -76,6 +76,16 @@
{{ .Render "summary" }}
{{ 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
Returns the value of an environment variable.