1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-20 09:32:19 +01:00
hugo-theme-bootstrap4-blog/layouts/partials/header.html
Alan Orth 4043f1b1f4
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.
2016-08-30 00:39:48 +03:00

7 lines
254 B
HTML

<div class="blog-header">
<div class="container">
<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>