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

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..79a98f1
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,22 @@
+{{ define "main" }}
+<h1 class="standard top-h1 mt-4 mb-4">
+ {{- .Title -}}
+</h1>
+<div class="standard grid-container">
+ {{ range (.Paginator 2).Pages }}
+ <div class="index-box p-3 shadow rounded mb-4">
+ <p class="mb-0">{{ .Date.Format "January 2, 2006" }}</p>
+ <h3>
+ <a href="{{ .Permalink | relURL }}">
+ {{- .Title -}}
+ </a>
+ </h3>
+
+ <p>Reading Time: {{ .ReadingTime }} minutes</p>
+ </div>
+ {{ end }}
+</div>
+<div class="mt-4 d-flex justify-content-center">
+ {{ template "_internal/pagination.html" . }}
+</div>
+{{ end }}