rasteiner / k3-pagesdisplay-section

K3 plugin: display any page list in a section. Any parent, many parents, filtered, don't care.
Other
45 stars 8 forks source link

Example: Syntax Error #2

Closed herrajon closed 4 years ago

herrajon commented 4 years ago

Missing apostrophes in your example in readme.md:

headline: Hest Pages
type: pagesdisplay
query: site.index.filterBy('title', '*=', 'Hest')

If excluded it breaks.

rasteiner commented 4 years ago

Yes, thanks. The Kirby query language syntax changed at some point. While those changes allowed us to pass variables to functions, it removed the functionality that coerced any argument to a string value.