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

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/section/archive.html')
-rw-r--r--layouts/section/archive.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/section/archive.html b/layouts/section/archive.html
new file mode 100644
index 0000000..686e8bb
--- /dev/null
+++ b/layouts/section/archive.html
@@ -0,0 +1,10 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+{{$paginator := .Paginate (where .Site.Pages "Kind" "page").ByDate.Reverse 50 }}
+<div class="archive-table">
+ {{ range $paginator.Pages }}
+ {{ partial "listPage" . }}
+ {{ end }}
+</div>
+
+{{ end }}