diff options
-rw-r--r-- | layouts/partials/sidebar.html | 7 | ||||
-rw-r--r-- | static/css/hyde.css | 6 |
2 files changed, 11 insertions, 2 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> diff --git a/static/css/hyde.css b/static/css/hyde.css index f6c51ee..1e90233 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -76,11 +76,15 @@ html { } /* About section */ -.sidebar-about h1 { +.site-title { color: #fff; margin-top: 0; font-family: "Abril Fatface", serif; font-size: 3.25rem; + font-weight: bold; + line-height: 1.25; + margin-bottom: 0.5rem; + display: block; } .contact-head { |