mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-08 01:00:03 +02:00
Add custom emoji support (#16004)
This commit is contained in:
parent
aac663e0da
commit
65548359cc
11 changed files with 57 additions and 23 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue