hugo/docs/content/templates
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
..
404.md Docs: Minor copyediting/proofreading 2014-12-08 22:44:30 +01:00
content.md Correct alias 2014-12-03 09:17:45 +01:00
functions.md Add operator argument to where template function 2015-01-04 12:15:17 +01:00
go-templates.md Minor proofreading corrections to Hugo docs 2014-10-15 12:18:20 -04:00
homepage.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
list.md Correct path in theme search order 2014-11-24 17:24:39 -05:00
overview.md Minor proofreading corrections to Hugo docs 2014-09-01 08:19:40 -04:00
partials.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
rss.md Switch to new hompage 2014-10-02 13:39:59 -04:00
sitemap.md Docs: Minor copyediting/proofreading 2014-12-08 22:44:30 +01:00
terms.md More proofreading and minor revisions to Hugo docs 2014-09-08 11:41:10 -04:00
variables.md Documentation for ref and relref. 2014-12-18 22:18:37 -05:00
views.md Typo fix: "simple" → "simply" in templates/views.md 2014-12-24 16:58:28 -07:00