hugo/tpl
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
..
cast Add Hugo Modules 2019-07-24 09:35:53 +02:00
collections Fix assorted typos 2019-08-01 13:55:48 +02:00
compare Merge pull request #6149 from bep/sort-caseinsensitive 2019-08-01 10:19:19 +02:00
crypto tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
data Block symlink dir traversal for /static 2019-07-25 11:27:25 +02:00
encoding tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
fmt tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
hugo Add Hugo Modules 2019-07-24 09:35:53 +02:00
images tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
inflect tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
internal tpl: Fix test to pass with gccgo 2018-11-09 08:54:08 +01:00
lang tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
math all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
os Add Hugo Modules 2019-07-24 09:35:53 +02:00
partials tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
path tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
reflect tpl: Fix hugo package name and add godocs 2019-04-27 22:44:57 +02:00
resources resources: Move resource interfaces into its own package 2019-01-02 14:25:37 +01:00
safe tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
site Add Hugo Modules 2019-07-24 09:35:53 +02:00
strings tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
templates tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
time tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
tplimpl Simplify page tree logic 2019-08-08 20:13:39 +02:00
transform hugolib: Consider summary in front matter for .Summary 2019-04-05 19:11:04 +02:00
urls tpl: Add godoc packages comments 2018-11-30 08:56:30 +01:00
template.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
template_info.go tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
template_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00