hugo/tpl/tplimpl/embedded
Bjørn Erik Pedersen 7ff0a8ee9f Simplify page tree logic
This is preparation for #6041.

For historic reasons, the code for bulding the section tree and the taxonomies were very much separate.

This works, but makes it hard to extend, maintain, and possibly not so fast as it could be.

This simplification also introduces 3 slightly breaking changes, which I suspect most people will be pleased about. See referenced issues:

This commit also switches the radix tree dependency to a mutable implementation: github.com/armon/go-radix.

Fixes #6154
Fixes #6153
Fixes #6152
2019-08-08 20:13:39 +02:00
..
generate all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
templates Simplify page tree logic 2019-08-08 20:13:39 +02:00
.gitattributes tpl/tplimpl: Make the autogenerated templates collapsed in PRs 2018-08-23 22:03:43 +02:00
README.md tpl: Fix golint godoc issues 2018-09-07 08:25:51 +02:00
templates.autogen.go Simplify page tree logic 2019-08-08 20:13:39 +02:00

Build Templates

If you add or modify any template in the templates folder, you also need to run mage generate to get the Go code in synch.