aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilja <gitlab@spectraltheorem.be>2019-04-22 11:17:53 +0200
committerilja <gitlab@spectraltheorem.be>2019-04-22 11:17:53 +0200
commitc876b04aebdc6e5c935572835211e48a5b3e0188 (patch)
treeea5c5e717533795173b02e32955c50190711cfe4
parent20deff75f153ffbd5076e992c7ed3c19ac551535 (diff)
downloadpleroma-c876b04aebdc6e5c935572835211e48a5b3e0188.tar.gz
Add shortcode_globs setting to documentation
-rw-r--r--docs/config/custom_emoji.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/config/custom_emoji.md b/docs/config/custom_emoji.md
index ac28635d0..f72c0edbc 100644
--- a/docs/config/custom_emoji.md
+++ b/docs/config/custom_emoji.md
@@ -28,6 +28,11 @@ foo, /emoji/custom/foo.png
The files should be PNG (APNG is okay with `.png` for `image/png` Content-type) and under 50kb for compatibility with mastodon.
+Default file extentions and locations for emojis are set in `config.exs`. To use different locations or file-extentions, add the `shortcode_globs` to your secrets file (`prod.secret.exs` or `dev.secret.exs`) and edit it. Note that not all fediverse-software will show emojis with other file extentions:
+```elixir
+config :pleroma, :emoji, shortcode_globs: ["/emoji/custom/**/*.png", "/emoji/custom/**/*.gif"]
+```
+
## Emoji tags (groups)
Default tags are set in `config.exs`. To set your own tags, copy the structure to your secrets file (`prod.secret.exs` or `dev.secret.exs`) and edit it.