I have list of blog posts. And in each post I have own param “price_from”. I want to order list of posts by this param.
I can’t find how to do this.
Try this:
{{ range sort .Site.Pages "Params.price_from" }}
I have list of blog posts. And in each post I have own param “price_from”. I want to order list of posts by this param.
I can’t find how to do this.
Try this:
{{ range sort .Site.Pages "Params.price_from" }}