diff --git a/assets/css/main.css b/assets/css/main.css index 35c9b9b..33829f0 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -318,7 +318,8 @@ html { /* The nav has to be distant-enough from the top to make room for a * skip-link. The breadcrumbs also can't have their focus-outlines * overflow while CSS containment is enabled. */ - header > nav { + header > nav, + nav[itemprop="breadcrumb"] { padding: .75em 0 .25em; } diff --git a/layouts/partials/breadcrumblist.html b/layouts/partials/breadcrumblist.html index 657d322..8576915 100644 --- a/layouts/partials/breadcrumblist.html +++ b/layouts/partials/breadcrumblist.html @@ -1,6 +1,5 @@ {{/* All pages are one or two clicks from the navbar. If two clicks, add a breadcrumb list. */}} {{- if and (not .IsHome) (not .Parent.IsHome) -}} -
+
{{- end -}} {{ define "breadcrumbnav" }} {{ if .p1.Parent }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 055f9a3..87bbd2e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,6 @@