How to create a new Taxonomy list page? [Solved]

Hi,

I’ve added a new term to the front-matter, called archives:

+++
archives = "2014-May"
+++

And I can access the list pages of archives using:

{{ range $name, $pages := .Site.Taxonomies.archives }}
<li>
<a href="/archives/{{ $name | urlize }}" title="{{ $name | title }}">{{ $name | title }}</a></li>
{{ end }}

But where should I create the archives list page? Just like tag.html and category.html in layouts/indexes folder

See taxonomy lists here:

The easiest is just to have “one template for all lists” (categories and taxonomies):

/layouts/_default/list.html

1 Like