summaryrefslogtreecommitdiffstats
path: root/hugolib/site_sections.go
AgeCommit message (Collapse)Author
2017-07-04hugolib: Extend the sections APIBjørn Erik Pedersen
This commit adds some section related methods that have been asked for: * .CurrentSection * .IsDescendant * .IsAncestor Fixes #3591
2017-07-04hugolib: Make .Site.Sections return the top level sectionsBjørn Erik Pedersen
See #3591
2017-06-13Run gofmt to get imports in line vs gohugoio/hugoBjørn Erik Pedersen
2017-06-13all: Update import paths to gohugoio/hugoBjørn Erik Pedersen
2017-06-13hugolib: Fix section logic for root folders with subfoldersBjørn Erik Pedersen
This commit fixes an issue introduced in the recently released Hugo 0.22. This logic did not handle the case with root sections with non-section subfolders very well. Fixes #3586
2017-06-08hugolib: Enable nested sectionsBjørn Erik Pedersen
Fixes #465