Reorder home page identifiers
Committed 5b8cb8
--- a/canopy/templates/template.html
+++ b/canopy/templates/template.html
$if "note" in owner:
<span class=p-note>$owner["note"][0]</span><br>
<small class=identifiers>
+$if email := get_first(owner, "email"):
+ <a class=u-email
+ href=mailto:$owner["email"][0]><code>$owner["email"][0]</code></a> •
$if onion := get_onion():
$ _stripped_onion = onion.lstrip("x")
$ _prefix_length = len(onion) - len(_stripped_onion)
<a class=u-url rel=me
href=http://$onion><code>@$_stripped_onion[:12-_prefix_length]</code></a> •
<code><a class="u-url u-uid" rel=me href=/>@$tx.host.name</code>
-$if email := get_first(owner, "email"):
- • <a class=u-email href=mailto:$owner["email"][0]><code>$owner["email"][0]</code></a>
• <a href=/owner/actor><code>@$owner["nickname"][0]@$tx.host.name</code></a>
$if key := get_key():
• <a class=p-key href=/owner/keyring><code>$:"–".join(key.split()[:2])</code></a>