hugo/tpl
Tatsushi Demachi 0d17ee7ed4 Add operator argument to where template function
It allows to use `where` template function like SQL `where` clause.
For example,

    {{ range where .Data.Pages "Type" "!=" "post" }}
        {{ .Content }}
    {{ end }}

Now these operators are implemented:

    =, ==, eq, !=, <>, ne, >=, ge, >, gt, <=, le, <, lt, in, not in

It also fixes `TestWhere` more readable
2015-01-04 12:15:17 +01:00
..
template.go Add operator argument to where template function 2015-01-04 12:15:17 +01:00
template_embedded.go Added AuthorList, Author, AuthorSocial, SiteSocial, Image and Video structs 2014-12-18 22:26:10 -05:00
template_test.go Add operator argument to where template function 2015-01-04 12:15:17 +01:00