diff options
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r-- | layouts/_default/section.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..45253a7 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,19 @@ +{{ define "main" }} + +<section class="text-gray-700 body-font"> + <div class="container px-5 py-8 mx-auto"> + {{- partial "custom-message.html" . -}} + + + {{ .Scratch.Set "pages" .Paginator.Pages }} + + {{ if eq .Site.Params.multipage true }} + {{- partial "pagination.html" . -}} + {{ else }} + {{- partial "no-pagination.html" . -}} + {{ end }} + + </div> +</section> + +{{ end }}
\ No newline at end of file |