Support non-fa site icons by giving sites an actual name separate from their icon class
This commit is contained in:
parent
18ffe8ea4d
commit
09731053c2
5 changed files with 5 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
|||
$forall ((site, template), profile) <- userProfiles
|
||||
<li>
|
||||
<a .u-url itemprop="sameAs" rel="me" href="#{substitute template profile}">
|
||||
<i .fa.fa-#{siteIcon site}>
|
||||
<i .#{siteIcon site}>
|
||||
$maybe name <- profileDisplayName profile
|
||||
#{name}
|
||||
$nothing
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
#{timeFriendly updated}
|
||||
$forall (E.Value url, E.Value icon, E.Value name) <- posses
|
||||
<a .u-syndication href=#{url}>
|
||||
<i .fa.fa-#{icon}>
|
||||
<i .#{icon}>
|
||||
#{name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue