Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apvarun/showcase-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r--layouts/_default/section.html19
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