node to page: Add all nodes to sitemap

Updates #2297
Fixes #1303
This commit is contained in:
Bjørn Erik Pedersen
2016-11-09 19:59:28 +01:00
parent 7cc637e97a
commit d3d3863c05
4 changed files with 33 additions and 13 deletions

View File

@@ -569,6 +569,7 @@ func (s *Site) newTaxonomyTermsPage(plural string) *Page {
p := s.newNodePage(NodeTaxonomyTerms)
p.sections = []string{plural}
p.Title = strings.Title(plural)
s.setPageURLs(p, plural)
return p
}