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

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com>2021-02-07 16:36:13 +0300
committerGitHub <noreply@github.com>2021-02-07 16:36:13 +0300
commit4e60b9a717bde824dd10feeb85afe07c90266c63 (patch)
tree39ecf493e5589c2cf69b583f0ed894f8421cb585
parent6c85919f54aa43e2817efef23af68058f92e60a9 (diff)
parent6e9c4ce0a8495ff3b75a882b95f80cd57c7c7431 (diff)
Merge pull request #111 from Tristor/section-pr
Add the recommended default section template into layouts/_default
-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..0081c00
--- /dev/null
+++ b/layouts/_default/section.html
@@ -0,0 +1,15 @@
+{{ define "main" }}
+ <main>
+ {{ .Content }}
+ <ul class="contents">
+ {{ range .Paginator.Pages }}
+ <li>{{.Title}}
+ <div>
+ {{ partial "summary.html" . }}
+ </div>
+ </li>
+ {{ end }}
+ </ul>
+ {{ partial "pagination.html" . }}
+ </main>
+{{ end }}