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

github.com/dewittn/hugo-html5up-alpha.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.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
new file mode 100644
index 0000000..3151171
--- /dev/null
+++ b/layouts/_default/section.html
@@ -0,0 +1,15 @@
+{{ define "main" }}
+<header>
+ <h2>{{ .Title }}</h2>
+ <p>{{ .Description }}</p>
+</header>
+{{ range .Pages }}
+<div class="row">
+ <div class="col-12">
+ <section class="box">
+ {{ .Content }}
+ </section>
+ </div>
+</div>
+{{ end }}
+{{ end }} \ No newline at end of file