about summary refs log tree commit diff stats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 13:22:08 +0200
committerAlan Pearce2017-06-23 13:22:08 +0200
commit57a032d9f3665033484471fd1e355e3b3caff641 (patch)
treec7b622c9a9ab5ab7ac8d9092543b615d1a6550fd /layouts/partials/sidebar.html
parent80ecb4689b15c3260d83f57dafb81bd73bd32942 (diff)
parent987cab567c5fc9bed00bf11b8693b44d40564e5e (diff)
downloadhyde-57a032d9f3665033484471fd1e355e3b3caff641.tar.lz
hyde-57a032d9f3665033484471fd1e355e3b3caff641.tar.zst
hyde-57a032d9f3665033484471fd1e355e3b3caff641.zip
Merge remote-tracking branch 'alanpearce/master'
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 5b23f00..d4f8e2d 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,12 +1,18 @@
 		<aside class="sidebar container">
 			<header class="sidebar-about h-card vcard p-author" itemprop="author" itemscope itemtype="http://schema.org/Person">
+				{{ if (isset .Site.Author "image") }}
+				<a class="u-url u-uid" href="{{ .Site.BaseURL }}">
+					<img class="u-photo" src="{{ .Site.Author.image }}" width=128 height=128 />
+				</a>
+				{{ end }}
+
 				{{ if eq .Title .Site.Title }}
 				<h1 class="site-title u-name fn" itemprop="name">{{ .Site.Title }}</h1>
 				{{ else }}
 				<span class="site-title u-name fn" itemprop="name">{{ .Site.Title }}</span>
 				{{ end }}
 
-				<p class="lead">
+				<p class="lead p-note">
 					{{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
 				</p>