Pass template as value
This commit is contained in:
parent
69e515326f
commit
3b6afd4fb2
@ -40,6 +40,7 @@ func (mt macroTag) Run(tc *TagContext, block, args []ast.Node) error {
|
||||
} else {
|
||||
tc.t.macroMtx.Lock()
|
||||
tc.t.macros[name] = block
|
||||
println(tc.t.macros[name])
|
||||
tc.t.macroMtx.Unlock()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user