Add margin above title if no header
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
{{ partial "paige/header.html" $page }}
|
{{ partial "paige/header.html" $page }}
|
||||||
|
|
||||||
<main id="paige-main">
|
<main class="mt-3" id="paige-main">
|
||||||
{{ if templates.Exists "partials/paige/main-first.html" }}
|
{{ if templates.Exists "partials/paige/main-first.html" }}
|
||||||
{{ partial "paige/main-first.html" $page }}
|
{{ partial "paige/main-first.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
{{ with .Ancestors }}
|
{{ with .Ancestors }}
|
||||||
<nav aria-label="{{ i18n `paige_breadcrumbs` }}" class="mt-3" id="paige-breadcrumbs">
|
<nav aria-label="{{ i18n `paige_breadcrumbs` }}" class="mt-3" id="paige-breadcrumbs">
|
||||||
<div class="d-flex justify-content-center">
|
<div class="d-flex justify-content-center">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb mb-0">
|
||||||
{{ range .Reverse }}
|
{{ range .Reverse }}
|
||||||
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
|
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
{{ if or $page.Ancestors site.Menus.main }}
|
{{ 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" }}
|
{{ if templates.Exists "partials/paige/header-first.html" }}
|
||||||
{{ partial "paige/header-first.html" $page }}
|
{{ partial "paige/header-first.html" $page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with site.Menus.main }}
|
{{ 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">
|
<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>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
Reference in New Issue
Block a user