I want to sort pages by ogc_fid
And this is in layout.
{{ range sort .Data.Pages ".Params.properties.ogc_fid" }}
Sorting on ogc_fid doesn’t work.
Server show an error:
ERROR 2018/12/13 22:09:18 Failed to render pages: render of "section" failed: "d
.....\test\layouts\pass\pass.html:9:11": execute of template fail
ed: template: pass/pass.html:9:11: executing "pass/pass.html" at <sort .Data.Pag
es ".P...>: error calling sort: can't evaluate an invalid value
Next time, please follow the advice at Requesting Help and share your project. if you can not, please recreate a project that reproduces your issue that can be easily shared.