mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Clean up the css related template funcs package structure
Deprecate and move: * resources.ToCSS => css.SASS * resources.PostProcess => css.PostProcess * resources.Babel => js.Babel Updates #12618
This commit is contained in:
@@ -51,6 +51,9 @@ type TemplateFuncsNamespace struct {
|
||||
// This is the method receiver.
|
||||
Context func(ctx context.Context, v ...any) (any, error)
|
||||
|
||||
// OnCreated is called when all the namespaces are ready.
|
||||
OnCreated func(namespaces map[string]any)
|
||||
|
||||
// Additional info, aliases and examples, per method name.
|
||||
MethodMappings map[string]TemplateFuncMethodMapping
|
||||
}
|
||||
|
Reference in New Issue
Block a user