Browse Source

Update _bio.html.haml (#8449)

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)
pull/4/head
Tad Thorley 6 years ago
committed by Eugen Rochko
parent
commit
104d089df1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/accounts/_bio.html.haml

+ 1
- 1
app/views/accounts/_bio.html.haml View File

@ -3,7 +3,7 @@
.account__header__fields
- account.fields.each do |field|
%dl
%dt.emojify{ title: field.name }= field.name
%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)

Loading…
Cancel
Save