added "eq" function to docs.

This commit is contained in:
Daniel Fairhead authored and spf13 committed 2014-09-11 17:02:20 -04:00
1 parent df489b4712
commit 012a473e27
1 file changed
+6
+6
View File
@@ -35,6 +35,12 @@ If parameter is set, then echo it.
e.g. {{echoParam .Params "project_url" }} e.g. {{echoParam .Params "project_url" }}
### eq
Return true if the parameters are equal.
e.g.
{{ if eq .Section "blog" }}current{{ end}}"
### first ### first
Slices an array to only the first X elements. Slices an array to only the first X elements.