Add page-first, page-last includes
This commit is contained in:
@@ -772,10 +772,12 @@ Files can be included in many places in HTML.
|
||||
| `layouts/partials/paige/body-last.html` | The end of the body tag |
|
||||
| `layouts/partials/paige/head-first.html` | The beginning of the head tag |
|
||||
| `layouts/partials/paige/head-last.html` | The end of the head tag |
|
||||
| `layouts/partials/paige/page-first.html` | The beginning of the page tag |
|
||||
| `layouts/partials/paige/page-footer-first.html` | The beginning of the page footer tag |
|
||||
| `layouts/partials/paige/page-footer-last.html` | The end of the page footer tag |
|
||||
| `layouts/partials/paige/page-header-first.html` | The beginning of the page header tag |
|
||||
| `layouts/partials/paige/page-header-last.html` | The end of the page header tag |
|
||||
| `layouts/partials/paige/page-last.html` | The end of the page tag |
|
||||
| `layouts/partials/paige/site-first.html` | The beginning of the main tag |
|
||||
| `layouts/partials/paige/site-last.html` | The end of the main tag |
|
||||
| `layouts/partials/paige/site-footer-first.html` | The beginning of the site footer tag |
|
||||
|
@@ -45,6 +45,7 @@
|
||||
{{ $class = delimit ($class | uniq | sort) " " }}
|
||||
|
||||
<article class="align-items-center d-flex flex-column {{ $class }}" id="paige-page">
|
||||
{{ partial "paige/func-include.html" (dict "name" "page-first%s.html" "page" $page) }}
|
||||
{{ partial "paige/page-header.html" $page }}
|
||||
|
||||
{{ with $content }}
|
||||
@@ -52,4 +53,5 @@
|
||||
{{ end }}
|
||||
|
||||
{{ partial "paige/page-footer.html" $page }}
|
||||
{{ partial "paige/func-include.html" (dict "name" "page-last%s.html" "page" $page) }}
|
||||
</article>
|
||||
|
Reference in New Issue
Block a user