mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
@@ -63,7 +63,7 @@ type Diagrams struct {
|
||||
d *deps.Deps
|
||||
}
|
||||
|
||||
func (d *Diagrams) Goat(v interface{}) SVGDiagram {
|
||||
func (d *Diagrams) Goat(v any) SVGDiagram {
|
||||
var r io.Reader
|
||||
|
||||
switch vv := v.(type) {
|
||||
|
@@ -28,7 +28,7 @@ func init() {
|
||||
|
||||
ns := &internal.TemplateFuncsNamespace{
|
||||
Name: name,
|
||||
Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
|
||||
Context: func(args ...any) (any, error) { return ctx, nil },
|
||||
}
|
||||
|
||||
return ns
|
||||
|
Reference in New Issue
Block a user