--- title: "Taxonomy Lists" date: "2013-07-01" aliases: ["/indexes/lists/","/doc/indexes/", "/extras/indexes"] linktitle: "Lists" weight: 40 menu: main: parent: 'taxonomy' --- An index list is a list of all the keys that are contained in the index. When a template is present, this will be rendered at `/IndexPlural/` Hugo also supports creating pages that list your values for each index along with the number of content items associated with the index key. These are global pages, not attached to any specific content, but rather display the meta data in aggregate. To have hugo create these list of indexes pages, simply create a template in /layouts/indexes/ called indexes.html Hugo can order the meta data in two different ways. It can be ordered by the number of content assigned to that key or alphabetically. ## Example indexes.html file (alphabetical) {{ template "chrome/header.html" . }} {{ template "chrome/subheader.html" . }}

{{ .Title }}

{{ template "chrome/footer.html" }} ## Example indexes.html file (ordered) {{ template "chrome/header.html" . }} {{ template "chrome/subheader.html" . }}

{{ .Title }}

{{ template "chrome/footer.html" }} ## Variables available to list of indexes pages. **.Title** The title for the content.
**.Date** The date the content is published on.
**.Permalink** The Permanent link for this page.
**.RSSLink** Link to the indexes' rss link.
**.Data.Singular** The singular name of the index
**.Data.Plural** The plural name of the index
**.Data.Index** The Index itself
**.Data.Index.Alphabetical** The Index alphabetized
**.Data.Index.ByCount** The Index ordered by popularity