Use consistent margins for page header, content, footer
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<footer class="mb-3 text-center text-secondary" id="paige-page-footer">
|
||||
<footer class="mt-3 text-center text-secondary" id="paige-page-footer">
|
||||
{{ if templates.Exists "partials/paige/page-footer-first.html" }}
|
||||
{{ partial "paige/page-footer-first.html" . }}
|
||||
{{ end }}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $class := slice }}
|
||||
{{ $class := slice "my-3" }}
|
||||
{{ $content := $page.Content | replaceRE `(<h[1-6] id="([^"]+)".+)(</h[1-6]+>)` (printf `${1}<a aria-label="%s" class="paige-header-link" href="#${2}"></a>${3}` (i18n "paige_aria_section_link")) }}
|
||||
{{ $draft := $page.Draft }}
|
||||
{{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }}
|
||||
|
@@ -13,7 +13,7 @@
|
||||
{{ $credit = markdownify $credit }}
|
||||
{{ end }}
|
||||
|
||||
<footer class="mb-3 text-center text-secondary" id="paige-footer">
|
||||
<footer class="my-3 text-center text-secondary" id="paige-footer">
|
||||
{{ if templates.Exists "partials/paige/footer-first.html" }}
|
||||
{{ partial "paige/footer-first.html" . }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user