]> git.maquefel.me Git - brevno-suite/hugo/commit
tpl: Fix some baseof lookup issues
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 11 Apr 2025 08:16:28 +0000 (10:16 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 11 Apr 2025 16:23:51 +0000 (18:23 +0200)
commit9221cbca496752fb1d06d664871e3d4532f473f5
treeb0364e56305d8fc506c48bd678cff10be3bc592d
parente3e3f9ae17395220e2c13ddc8afa7000a5a7e21e
tpl: Fix some baseof lookup issues

We were mistakingly using the templates (e.g. list.html) descriptor to resolve the base template and not the page,
which worked fine in most cases, but not all.

Fixes #13583
tpl/templates/templates_integration_test.go
tpl/tplimpl/templatestore.go