shithub: hugo

Download patch

ref: c95069990795965c34059b6844fe9fa5125be7c1
parent: 6c5ef71368edfae8ffc77224ff6a9ec240c39626
author: Anton Staaf <github@socialhacker.com>
date: Sun Mar 5 07:24:14 EST 2017

hugolib: Populate the taxonomy term Pages list

Previously this was left empty, but it is very handy to have a list
of term pages for a given taxonomy.  This list can now be paginated
like other page lists.  It makes it possible to render summary
content from each terms index page for instance.  It also makes it
possible to sort the term pages in the same way that other page
lists can be sorted.  An RSS feed is now generated for
KindTaxonomyTerm pages as well.

This also fixes a bug in HugoSites.createMissingPages.  Previously
it would only check for existing KindTaxonomyTerm pages if the
taxonomy had any terms defined.  So for a taxonomy with no terms
but a taxonomy terms page it would generate a second empty terms
page.