hugo/docs/content
Tatsushi Demachi fa8ac87d5e Make 'where' template function accepts dot chaining key argument
'where' template function used to accept only each element's struct
field name, method name and map key name as its second argument. This
extends it to accept dot chaining key like 'Params.foo.bar' as the
argument. It evaluates sub elements of each array elements and checks it
matches the third argument value.

Typical use case would be for filtering Pages by user defined front
matter value. For example, to filter pages which have 'Params.foo.bar'
and its value is 'baz', it is used like

    {{ range where .Data.Pages "Params.foo.bar" "baz" }}
        {{ .Content }}
    {{ end }}

It ignores all leading and trailing dots so it can also be used with
".Params.foo.bar"
2014-12-29 12:53:41 +01:00
..
community Docs copyediting: Add more external URLs; add backticks, etc. 2014-12-27 00:50:08 -07:00
content Add anchor ref to Blackfriday doc 2014-12-26 18:11:05 +01:00
extras Docs copyediting: Add more external URLs; add backticks, etc. 2014-12-27 00:50:08 -07:00
meta Switch to new hompage 2014-10-02 13:39:59 -04:00
overview [Docs] Mention support for the Ace HTML Template Engine 2014-12-27 00:58:50 -07:00
showcase showcase: update ucsb entry 2014-12-03 13:53:29 +01:00
taxonomies Docs: Minor copyediting/proofreading 2014-12-08 22:44:30 +01:00
templates Make 'where' template function accepts dot chaining key argument 2014-12-29 12:53:41 +01:00
themes Docs: Minor copyediting/proofreading 2014-12-08 22:44:30 +01:00
tutorials Documentation for ref and relref. 2014-12-18 22:18:37 -05:00