commit 679115c3db26ad80c37c8ada077a1ec882c120c1
parent 8781f98150c9cbd65f8478a7e9d984f77f850eac
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Wed, 8 Apr 2020 22:14:17 -0500
Add logo, photo, and u-uid
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
@@ -1,7 +1,14 @@
<hr/>
{{ if .IsHome }}
<footer class="h-card">
- © <a rel="me" class="p-name u-url" href="{{ .Site.Author.url }}">{{ .Site.Author.name }}</a><br/>
- <a rel="me" class="u-email" href="mailto:{{ .Site.Author.email }}">{{ .Site.Author.email }}</a>
+ <img style="float:right;" src={{ .Site.Author.logo }}>
+ <a href="{{ .Site.Author.url }}" class="p-name u-url u-uid" rel="me">
+ {{ .Site.Author.name }}
+ </a><br/>
+ <a rel="me" class="u-email" href="mailto:{{ .Site.Author.email }}">
+ {{ .Site.Author.email }}
+ </a>
</footer>
+{{ else }}
+© {{ .Site.Author.name }}
{{ end }}