From 4ebaec890614b8b2f53e2a984aed48b3ac31938e Mon Sep 17 00:00:00 2001 From: Rinat Abdullin Date: Tue, 13 May 2014 20:46:04 +0600 Subject: [PATCH] Include Section Taxonomy into SiteInfo This allows to build more complex pages, like : http://martinfowler.com/tags/ --- hugolib/site.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hugolib/site.go b/hugolib/site.go index 7a0e69fde..f2ea335aa 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -76,6 +76,7 @@ type SiteInfo struct { BaseUrl template.URL Taxonomies TaxonomyList Indexes *TaxonomyList // legacy, should be identical to Taxonomies + Sections Taxonomy Recent *Pages Menus *Menus Title string @@ -495,6 +496,7 @@ func (s *Site) assembleTaxonomies() { s.Info.Taxonomies = s.Taxonomies s.Info.Indexes = &s.Taxonomies + s.Info.Sections = s.Sections } func (s *Site) assembleSections() {