diff options
Diffstat (limited to 'tpl/template.go')
-rw-r--r-- | tpl/template.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go index e9725bd74..5ef0eecb8 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -165,10 +165,12 @@ var Context = struct { SetDependencyManagerInCurrentScope func(context.Context, identity.Manager) context.Context DependencyScope hcontext.ContextDispatcher[int] Page hcontext.ContextDispatcher[page] + IsInGoldmark hcontext.ContextDispatcher[bool] }{ DependencyManagerScopedProvider: hcontext.NewContextDispatcher[identity.DependencyManagerScopedProvider](contextKey("DependencyManagerScopedProvider")), DependencyScope: hcontext.NewContextDispatcher[int](contextKey("DependencyScope")), Page: hcontext.NewContextDispatcher[page](contextKey("Page")), + IsInGoldmark: hcontext.NewContextDispatcher[bool](contextKey("IsInGoldmark")), } func init() { |