aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-11-29 12:13:49 +0100
committerBjørn Erik Pedersen <[email protected]>2024-11-29 14:22:39 +0100
commitc1dc35dd712fc926cc7eaa2bf607fb4716794dfd (patch)
tree19e45aec79983fa096e9df473669ab2f94ce5934 /tpl
parentfc3d1cbadb48d5f8e10fcd811377de6b8453ea8d (diff)
downloadhugo-c1dc35dd712fc926cc7eaa2bf607fb4716794dfd.tar.gz
hugo-c1dc35dd712fc926cc7eaa2bf607fb4716794dfd.zip
Fix server edits of resources included in shortcode/hooks
Fixes #13093
Diffstat (limited to 'tpl')
-rw-r--r--tpl/template.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/tpl/template.go b/tpl/template.go
index 18a31e231..39c6b4f1c 100644
--- a/tpl/template.go
+++ b/tpl/template.go
@@ -172,7 +172,6 @@ type contextKey string
var Context = struct {
DependencyManagerScopedProvider hcontext.ContextDispatcher[identity.DependencyManagerScopedProvider]
GetDependencyManagerInCurrentScope func(context.Context) identity.Manager
- SetDependencyManagerInCurrentScope func(context.Context, identity.Manager) context.Context
DependencyScope hcontext.ContextDispatcher[int]
Page hcontext.ContextDispatcher[page]
IsInGoldmark hcontext.ContextDispatcher[bool]