mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 21:34:49 -04:00

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
Description
Languages
HTML
79%
JavaScript
10.8%
CSS
10.2%