mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-10 14:36:01 +02:00
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:
@ -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>
|
||||
|
Reference in New Issue
Block a user