diff options
author | Yoshiharu Yamashita <yoshiharuyamashita@users.noreply.github.com> | 2021-02-07 16:36:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 16:36:13 +0300 |
commit | 4e60b9a717bde824dd10feeb85afe07c90266c63 (patch) | |
tree | 39ecf493e5589c2cf69b583f0ed894f8421cb585 | |
parent | 6c85919f54aa43e2817efef23af68058f92e60a9 (diff) | |
parent | 6e9c4ce0a8495ff3b75a882b95f80cd57c7c7431 (diff) |
Merge pull request #111 from Tristor/section-pr
Add the recommended default section template into layouts/_default
-rw-r--r-- | layouts/_default/section.html | 15 |
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 }} |