diff options
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r-- | layouts/partials/sidebar.html | 8 |
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> |