diff options
| author | vimux <vimux@protonmail.com> | 2016-10-14 23:41:10 +0300 |
|---|---|---|
| committer | vimux <vimux@protonmail.com> | 2016-10-14 23:41:10 +0300 |
| commit | 406c5961cbce9b9defde833e3c68c73a0a05536e (patch) | |
| tree | fd21f7fb40fdb52dce0295ae2eae794e569c4bd6 /layouts/index.html | |
Initial commit
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 10 |
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 |