about summary refs log tree commit diff stats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index d736472..8c211bd 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,6 +1,11 @@
 		<aside class="sidebar container">
 			<header class="sidebar-about" itemprop="author" itemscope itemtype="http://schema.org/Person">
-				<h1 itemprop="name">{{ .Site.Title }}</h1>
+				{{ if eq .Title .Site.Title }}
+				<h1 class="site-title" itemprop="name">{{ .Site.Title }}</h1>
+				{{ else }}
+				<span class="site-title" itemprop="name">{{ .Site.Title }}</span>
+				{{ end }}
+
 				<p class="lead">
 					{{ 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>