Add email address to the h-card

This commit is contained in:
Danielle McLean 2017-10-03 12:03:25 +11:00
parent 64c4aab14b
commit c5fd0fd326
Signed by: 00dani
GPG key ID: 3844A6973C6058F1
2 changed files with 5 additions and 0 deletions

View file

@ -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>

View file

@ -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}