summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-06-29 16:28:38 +0200
committerGitHub <noreply@github.com>2021-06-29 16:28:38 +0200
commit65548359cc5c78455b638c5be6fdec3e321e717a (patch)
tree0236a4aaa8e0c2a781e0383a39a667cf03528a1e /templates
parentaac663e0da0af644ae1011d268d027160265dce3 (diff)
downloadgitea-65548359cc5c78455b638c5be6fdec3e321e717a.tar.gz
gitea-65548359cc5c78455b638c5be6fdec3e321e717a.zip
Add custom emoji support (#16004)
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head.tmpl1
-rw-r--r--templates/swagger/v1_json.tmpl7
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 10fc2bad4a..5091eda1e9 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -30,6 +30,7 @@
AppVer: '{{AppVer}}',
AppSubUrl: '{{AppSubUrl}}',
AssetUrlPrefix: '{{AssetUrlPrefix}}',
+ CustomEmojis: {{CustomEmojis}},
UseServiceWorker: {{UseServiceWorker}},
csrf: '{{.CsrfToken}}',
HighlightJS: {{if .RequireHighlightJS}}true{{else}}false{{end}},
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 7f7907b3b0..40dddb06a0 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -14481,6 +14481,13 @@
},
"x-go-name": "AllowedReactions"
},
+ "custom_emojis": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-go-name": "CustomEmojis"
+ },
"default_theme": {
"type": "string",
"x-go-name": "DefaultTheme"