mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
0d17ee7ed4
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 |
||
---|---|---|
.. | ||
404.md | ||
content.md | ||
functions.md | ||
go-templates.md | ||
homepage.md | ||
list.md | ||
overview.md | ||
partials.md | ||
rss.md | ||
sitemap.md | ||
terms.md | ||
variables.md | ||
views.md |