1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-16 01:07:03 +01:00

Use HTML5 header tag for blog header

Makes it easier for computers to understand content by using tags
that have explicit meaning.

See: http://diveinto.html5doctor.com/semantics.html
This commit is contained in:
Alan Orth 2016-09-02 15:56:40 +03:00
parent 6059f6cbea
commit 47b200578e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -31,12 +31,12 @@
</div> </div>
</div> </div>
<div class="blog-header"> <header class="blog-header">
<div class="container"> <div class="container">
<h1 class="blog-title">{{ .Site.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 }} {{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | safeHTML }}</p>{{ end }}
</div> </div>
</div> </header>
<div class="container"> <div class="container">
<div class="row"> <div class="row">