mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 22:15:11 +01:00
104d089df1
On my local instance (https://ruby.social) we have a custom emoji for octocat (:octocat:). I would love to be able to use the emoji in the metadata for my profile. Instead of: | github | https://github.com/phaedryx It could be: | :octocat: | https://github.com/phaedryx (using a single emoji makes it easier to read the urls)
16 lines
639 B
Plaintext
16 lines
639 B
Plaintext
.public-account-bio
|
|
- unless account.fields.empty?
|
|
.account__header__fields
|
|
- account.fields.each do |field|
|
|
%dl
|
|
%dt.emojify{ title: field.name }= Formatter.instance.format_field(account, field.name, custom_emojify: true)
|
|
%dd.emojify{ title: field.value }= Formatter.instance.format_field(account, field.value, custom_emojify: true)
|
|
|
|
= account_badge(account)
|
|
|
|
- if account.note.present?
|
|
.account__header__content.emojify= Formatter.instance.simplified_format(account, custom_emojify: true)
|
|
|
|
.public-account-bio__extra
|
|
= t 'accounts.joined', date: l(account.created_at, format: :month)
|