ref: 4ebaec890614b8b2f53e2a984aed48b3ac31938e
parent: 35a605976ecc110e21af4ae4eae8d92768249197
author: Rinat Abdullin <[email protected]>
date: Tue May 13 16:46:04 EDT 2014
Include Section Taxonomy into SiteInfo This allows to build more complex pages, like : http://martinfowler.com/tags/
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -76,6 +76,7 @@
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 @@
s.Info.Taxonomies = s.Taxonomies
s.Info.Indexes = &s.Taxonomies
+ s.Info.Sections = s.Sections
}
func (s *Site) assembleSections() {