diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-22 11:18:39 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-22 12:03:01 +0200 |
commit | 19084eaf74246feac61d618c55031369520dfa8e (patch) | |
tree | 132c5c27642bdc465ae9227c8d7afe17916a6e3b /hugolib/shortcode.go | |
parent | 47e7788b3c30de6fb895522096baf2c13598c317 (diff) |
hugolib: Init the content and shortcodes early
In most cases we could delay the content init until rendering time, but there could be use cases where the templates would depend on state set in the shortcodes (.Page.Scratch.Set), so we need to do this early.
See #4632
Diffstat (limited to 'hugolib/shortcode.go')
0 files changed, 0 insertions, 0 deletions