diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 9d57c7c..749eb7c 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,5 +1,9 @@ <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") }} + <img class="u-photo" src="{{ .Site.Author.image }}" width=128 height=128 /> + {{ end }} + {{ if eq .Title .Site.Title }} <h1 class="site-title u-name fn" itemprop="name">{{ .Site.Title }}</h1> {{ else }} |