Self-host twemoji and the CSS
This commit is contained in:
parent
369c380054
commit
984c146e37
3 changed files with 10 additions and 3 deletions
|
@ -155,7 +155,7 @@ if conf.get("emojis"):
|
|||
EMOJIS = conf["emojis"]
|
||||
|
||||
# Emoji template for the FE
|
||||
EMOJI_TPL = '<img src="https://cdn.jsdelivr.net/npm/twemoji@12.0.0/2/svg/{filename}.svg" alt="{raw}" class="emoji">'
|
||||
EMOJI_TPL = '<img src="/static/twemoji/{filename}.svg" alt="{raw}" class="emoji">'
|
||||
if conf.get("emoji_tpl"):
|
||||
EMOJI_TPL = conf["emoji_tpl"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue