Add margin above title if no header
This commit is contained in:
		| @@ -13,7 +13,7 @@ | ||||
|                 <div class="col"> | ||||
|                     {{ partial "paige/header.html" $page }} | ||||
|  | ||||
|                     <main id="paige-main"> | ||||
|                     <main class="mt-3" id="paige-main"> | ||||
|                         {{ if templates.Exists "partials/paige/main-first.html" }} | ||||
|                             {{ partial "paige/main-first.html" $page }} | ||||
|                         {{ end }} | ||||
|   | ||||
| @@ -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 }} | ||||
|   | ||||
| @@ -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 }} | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user