hugo-ataru

Hugo theme with titleless posts and microformats2 support

git clone git://git.shimmy1996.com/hugo-ataru.git
commit f964f82934af3e9989a919867f20512c80fc6b27
parent 8ae177756c29b7a6d3dfaf67505db1c863485549
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Wed,  8 Apr 2020 22:47:04 -0500

Improve h-card

Diffstat:
Mlayouts/partials/header.html | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
@@ -14,12 +14,13 @@
 {{ if .IsHome }}
 <hr/>
 <div class="h-card">
-  <img style="float:right;" src={{ .Site.Author.logo }}>
-  <a href="{{ .Site.Author.url }}" class="p-name u-url u-uid" rel="me">
+  <img style="float:right;width:4em;" class="u-photo" src="{{ .Site.Author.logo }}">
+  <a class="p-name u-url u-uid" rel="me" href="{{ .Site.Author.url }}">
     {{ .Site.Author.name }}
-  </a><br/>
-  <a rel="me" class="u-email" href="mailto:{{ .Site.Author.email }}">
-    {{ .Site.Author.email }}
   </a>
+  <br/>
+  <p><a rel="me" class="u-email" href="mailto:{{ .Site.Author.email }}">
+    {{ .Site.Author.email }}
+  </a></p>
 </div>
 {{ end }}