summaryrefslogtreecommitdiffstats
path: root/themes/rusticus/layouts/section
diff options
context:
space:
mode:
authorRomeo Disca <romeo.disca@gmail.com>2019-05-06 22:11:39 +0200
committerRomeo Disca <romeo.disca@gmail.com>2019-05-06 22:13:02 +0200
commit2603808bbda0a676585acb0ea624161eaa594765 (patch)
tree7c8b10a487dd2db875935932c98d7494fe9d16f0 /themes/rusticus/layouts/section
parent305187837172b8bbc387de74a09728c7265ab6cd (diff)
add section list
Diffstat (limited to 'themes/rusticus/layouts/section')
-rw-r--r--themes/rusticus/layouts/section/list.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/themes/rusticus/layouts/section/list.html b/themes/rusticus/layouts/section/list.html
new file mode 100644
index 0000000..2bbf85e
--- /dev/null
+++ b/themes/rusticus/layouts/section/list.html
@@ -0,0 +1,30 @@
+
+{{ partial "header/header.html" . }}
+
+<main class="list">
+ <h1>{{ .Title }}</h1>
+ <p class="summary">{{ .Summary }}</p>
+ <section>
+ {{ .Content }}
+ </section>
+
+ <ul>
+ {{ range .Paginator.Pages }}
+
+ <li class="list-entry">
+ <a href="{{.Permalink}}">
+ <span class="date">{{.Date.Format (print .Site.Params.dateformat)}}</span>
+ <span class="title">{{.Title}}</span>
+ <span class="summary">{{.Summary}}</span>
+ </a>
+ </li>
+
+ {{ end }}
+ </ul>
+
+ {{ template "_internal/pagination.html" . }}
+
+</main>
+{{ partial "aside.html" . }}
+
+{{ partial "footer/footer.html" . }}