mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
markup/goldmark: Change link and image render hook enablement to enums
Closes #13535
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
b8ba33ca95
commit
84b31721bf
@@ -406,6 +406,7 @@ func newHugoSites(cfg deps.DepsCfg, d *deps.Deps, pageTrees *pageTrees, sites []
|
||||
MediaTypes: s.conf.MediaTypes.Config,
|
||||
DefaultOutputFormat: s.conf.DefaultOutputFormat,
|
||||
TaxonomySingularPlural: s.conf.Taxonomies,
|
||||
RenderHooks: s.conf.Markup.Goldmark.RenderHooks,
|
||||
}, tplimpl.SiteOptions{
|
||||
Site: s,
|
||||
TemplateFuncs: tplimplinit.CreateFuncMap(s.Deps),
|
||||
|
Reference in New Issue
Block a user