From b393088d09300408281929f30427cdbfdad02009 Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Mon, 31 Oct 2022 11:34:59 -0400 Subject: [PATCH] Make sure only the title closest to content is an h1, (#585) not the hero's. Fixes #584 --- layouts/partials/page-header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html index 8fbaea3be..3891c4598 100644 --- a/layouts/partials/page-header.html +++ b/layouts/partials/page-header.html @@ -6,11 +6,11 @@ {{ partial "site-navigation.html" . }}
{{ if not .Params.omit_header_text }} -

{{ .Title | default .Site.Title }}

+
{{ .Title | default .Site.Title }}
{{ with .Params.description }} -

+
{{ . }} -

+
{{ end }} {{ end }}