mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 18:33:00 +02:00
Refactor template render (#36438)
This commit is contained in:
1 parent
47717d4435
commit
9de659437e
31 files changed
+475
-459
No files matched your search
@@ -25,8 +25,6 @@ import (
|
||||
// NewFuncMap returns functions for injecting to templates
|
||||
func NewFuncMap() template.FuncMap {
|
||||
return map[string]any{
|
||||
"ctx": func() any { return nil }, // template context function
|
||||
|
||||
"DumpVar": dumpVar,
|
||||
"NIL": func() any { return nil },
|
||||
|
||||
|
||||
Reference in new issue
Block a user