Skip to content

Commit 6552b9e

Browse files
committed
fix
1 parent 36c0840 commit 6552b9e

File tree

11 files changed

+251
-259
lines changed

11 files changed

+251
-259
lines changed

modules/templates/dynamic.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,13 @@
66
package templates
77

88
import (
9-
"html/template"
109
"io/fs"
1110
"os"
1211
"path/filepath"
13-
texttmpl "text/template"
1412

1513
"code.gitea.io/gitea/modules/setting"
1614
)
1715

18-
var (
19-
subjectTemplates = texttmpl.New("")
20-
bodyTemplates = template.New("")
21-
)
22-
2316
// GetAsset returns asset content via name
2417
func GetAsset(name string) ([]byte, error) {
2518
bs, err := os.ReadFile(filepath.Join(setting.CustomPath, name))

0 commit comments

Comments
 (0)