Add email address to the h-card
This commit is contained in:
parent
64c4aab14b
commit
c5fd0fd326
2 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,8 @@ $doctype 5
|
||||||
<link rel="canonical" href=@{route}>
|
<link rel="canonical" href=@{route}>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
|
||||||
|
<script src="https://use.fontawesome.com/4fbab4ae27.js">
|
||||||
|
|
||||||
^{pageHead pc}
|
^{pageHead pc}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -3,3 +3,6 @@
|
||||||
<img .card-img-top.u-photo src=#{avatar} alt="Avatar for #{userFullName user}">
|
<img .card-img-top.u-photo src=#{avatar} alt="Avatar for #{userFullName user}">
|
||||||
<div .card-body>
|
<div .card-body>
|
||||||
<h4 .card-title.p-name>#{userFullName user}
|
<h4 .card-title.p-name>#{userFullName user}
|
||||||
|
<a .card-link.u-email rel="me" href="mailto:#{userEmail user}">
|
||||||
|
<i .fa.fa-envelope>
|
||||||
|
#{userEmail user}
|
||||||
|
|
Loading…
Reference in a new issue