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

github.com/vimux/blank.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..e8560c6
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,10 @@
+{{ partial "header.html" . }}
+ <main>
+ {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
+ {{ range $paginator.Pages }}
+ {{ partial "summary.html" . }}
+ {{ end }}
+ {{ partial "pagination.html" . }}
+ </main>
+{{ partial "sidebar.html" . }}
+{{ partial "footer.html" . }} \ No newline at end of file