Fix page header margins

master
Will Faught 12 months ago
parent 200241401c
commit a32859ba92

@ -24,7 +24,7 @@
{{ end }} {{ end }}
{{ if or $authors $date $keywords $readingtime $series }} {{ if or $authors $date $keywords $readingtime $series }}
<div id="paige-metadata-rest"> <div class="my-3" id="paige-metadata-rest">
{{ with $keywords }} {{ with $keywords }}
<p class="{{ if $textkeywords }} mb-0 {{ end }} text-center {{ if $textkeywords }} text-secondary {{ end }}" id="paige-keywords"> <p class="{{ if $textkeywords }} mb-0 {{ end }} text-center {{ if $textkeywords }} text-secondary {{ end }}" id="paige-keywords">
{{ range $i, $term := . -}} {{ range $i, $term := . -}}
@ -74,11 +74,11 @@
{{ end }} {{ end }}
{{ with $page.Param "paige.alert" }} {{ with $page.Param "paige.alert" }}
<div class="alert alert-{{ .type }}" role="alert">{{ .message | markdownify }}</div> <div class="alert alert-{{ .type }} my-3" role="alert">{{ .message | markdownify }}</div>
{{ end }} {{ end }}
{{ if and $page.Content (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }} {{ if and $page.Content (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }}
<div class="mw-100" id="paige-toc"> <div class="my-3" id="paige-toc">
<div class="border mb-3 pe-3 ps-3 pt-3 rounded"> <div class="border mb-3 pe-3 ps-3 pt-3 rounded">
{{ $page.TableOfContents }} {{ $page.TableOfContents }}
</div> </div>

Loading…
Cancel
Save