Multiple taxonomy list templates

Hi,
Is it possible to create multiple lists for the taxonomy but with different sorting criteria?
example:
/taxonomy/list.html.html (Default)
/taxonomy/list.date-asc.html
/taxonomy/list.date-desc.html

I’m trying to give the ability to the user to navigate through different sortings of the content.

You should look into Custom Output Formats

You can achieve this with them:

  1. Create 2 custom output formats along with template files matching their name according to the template lookup logic described in the doc.
  2. Assign both output formats to the content file’s Front Matter.

2. might be tricky, but doable.

Thanks Regis, that did the trick.

1 Like