Add support for PGP keys on the h-card - can support an arbitrary number of keys, although I only have one
This commit is contained in:
parent
2b4822093a
commit
484609fb8b
4 changed files with 191 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
<img .card-img-top.u-photo src=#{avatar} alt="Avatar for #{userFullName user}">
|
||||
<div .card-body>
|
||||
<h4 .card-title.p-name>#{userFullName user}
|
||||
$forall key <- pgpKeys
|
||||
<a .card-subtitle.u-key rel="me" href=@{routeFromPgp key}>
|
||||
<i .fa.fa-key>
|
||||
#{prettyPgp key}
|
||||
<link rel="pgpkey" type="application/pgp-keys" href=@{routeFromPgp key}>
|
||||
<p .card-text.p-note .text-muted>#{userNote user}
|
||||
<a .card-link.u-email rel="me" href="mailto:#{userEmail user}">
|
||||
<i .fa.fa-envelope>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue