Use site title in header, not context's title

Depending on the context the ".Title" could be the post or page's
title, but here we actually want the site's title.
This commit is contained in:
Alan Orth 2016-08-30 00:39:48 +03:00
parent d0fa547c10
commit 4043f1b1f4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div class="blog-header">
<div class="container">
<h1 class="blog-title">{{ .Title | safeHTML }}</h1>
<h1 class="blog-title">{{ .Site.Title | safeHTML }}</h1>
{{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | safeHTML }}</p>{{ end }}
</div>
</div>