diff options
author | kaniini <nenolod@gmail.com> | 2019-03-15 02:50:27 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-03-15 02:50:27 +0000 |
commit | c708656b5e4dd0a7c7f9ec5fb0116f542a85e309 (patch) | |
tree | 7e67da76a93f3eb77f48dfe28ef6a51606b64665 /docs/Custom-Emoji.md | |
parent | 7ecc201029a8c90cf5dc3313ff78d56eb0a2445c (diff) | |
parent | 3dadaa4432b442d75b0ac0425aa05527d52f0e7a (diff) | |
download | pleroma-c708656b5e4dd0a7c7f9ec5fb0116f542a85e309.tar.gz |
Merge branch 'robotstxt' into 'develop'
Add robots.txt
Closes #723
See merge request pleroma/pleroma!929
Diffstat (limited to 'docs/Custom-Emoji.md')
-rw-r--r-- | docs/Custom-Emoji.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/Custom-Emoji.md b/docs/Custom-Emoji.md new file mode 100644 index 000000000..d4af5c97c --- /dev/null +++ b/docs/Custom-Emoji.md @@ -0,0 +1,16 @@ +To add custom emoji: +* Add the image file(s) to `priv/static/emoji/custom` +* In case of conflicts: add the desired shortcode with the path to `config/custom_emoji.txt`, comma-separated and one per line +* Force recompilation (``mix clean && mix compile``) + +Example: + +image files (in `/priv/static/emoji/custom`): `happy.png` and `sad.png` + +content of `config/custom_emoji.txt`: +``` +happy, /emoji/custom/happy.png +sad, /emoji/custom/sad.png +``` + +The files should be PNG (APNG is okay with `.png` for `image/png` Content-type) and under 50kb for compatibility with mastodon. |