diff options
author | Regis Philibert <login@regisphilibert.com> | 2022-10-31 18:23:40 +0300 |
---|---|---|
committer | Regis Philibert <login@regisphilibert.com> | 2022-10-31 18:23:40 +0300 |
commit | ac1d37cdd1dc4292b6a61cfa767133371f5699b6 (patch) | |
tree | ce85f1970e561f6fb7938ab46e2b1d1f4f37fb1d | |
parent | b433a7a7eec422777bcc2c00c5de5ed79d230a68 (diff) |
Make sure only the title closest to content is an h1,584-one-h1
not the hero's.
Fixes #584
-rw-r--r-- | layouts/partials/page-header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 8fbaea3..3891c45 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -6,11 +6,11 @@ {{ partial "site-navigation.html" . }} <div class="tc-l pv6 ph3 ph4-ns"> {{ 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 }} - <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 }} </div> |