Add margin above title if no header

This commit is contained in:
Will Faught
2023-03-24 22:02:27 -07:00
parent 4a6374f460
commit 53a30a4c3e
4 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
{{ with .Ancestors }}
<nav aria-label="{{ i18n `paige_breadcrumbs` }}" class="mt-3" id="paige-breadcrumbs">
<div class="d-flex justify-content-center">
<ol class="breadcrumb">
<ol class="breadcrumb mb-0">
{{ range .Reverse }}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
{{ end }}

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ if or $page.Ancestors site.Menus.main }}
<header id="paige-header">
<header class="my-3" id="paige-header">
{{ if templates.Exists "partials/paige/header-first.html" }}
{{ partial "paige/header-first.html" $page }}
{{ end }}

View File

@@ -24,7 +24,7 @@
{{ end }}
{{ with site.Menus.main }}
<nav class="justify-content-center my-3 navbar navbar-expand-{{ $breakpoint }}" id="paige-menu">
<nav class="justify-content-center navbar navbar-expand-{{ $breakpoint }}" id="paige-menu">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#paige-menu-toggler" aria-controls="paige-menu-toggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>