mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-02 11:41:30 +00:00
Add custom emoji support (#16004)
This commit is contained in:
@@ -90,6 +90,9 @@ func NewFuncMap() []template.FuncMap {
|
||||
"AllowedReactions": func() []string {
|
||||
return setting.UI.Reactions
|
||||
},
|
||||
"CustomEmojis": func() map[string]string {
|
||||
return setting.UI.CustomEmojisMap
|
||||
},
|
||||
"Safe": Safe,
|
||||
"SafeJS": SafeJS,
|
||||
"JSEscape": JSEscape,
|
||||
|
Reference in New Issue
Block a user