Make sure only the title closest to content is an h1, (#585)
not the hero's. Fixes #584
This commit is contained in:
parent
b433a7a7ee
commit
b393088d09
|
@ -6,11 +6,11 @@
|
||||||
{{ partial "site-navigation.html" . }}
|
{{ partial "site-navigation.html" . }}
|
||||||
<div class="tc-l pv6 ph3 ph4-ns">
|
<div class="tc-l pv6 ph3 ph4-ns">
|
||||||
{{ if not .Params.omit_header_text }}
|
{{ if not .Params.omit_header_text }}
|
||||||
<h1 class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</h1>
|
<div class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</div>
|
||||||
{{ with .Params.description }}
|
{{ with .Params.description }}
|
||||||
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
|
<div class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
</h2>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue