X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fconfig%2Fcustom_emoji.md;h=f72c0edbc1438e11f698a99deacb5c928db380c4;hb=c0b7bc2927cb7d4826fe2c992a90c571a06e94c1;hp=ac28635d0f5c5bf4ca1ba5887221719af342dd55;hpb=31cff7dbcaf7d8087fb2c8eef2b949820fd5767c;p=akkoma 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.