From 3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 27 Aug 2017 22:38:42 +0800 Subject: =?UTF-8?q?=F0=9F=8E=89=20first=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/index.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 layouts/index.html (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..1a16497 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,25 @@ +{{ define "content" }} +
+ {{/* (index .Site.Paginate) */}} + {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ range $paginator.Pages }} + {{ .Render "summary" }} + {{ end }} +
+ + +{{ end }} \ No newline at end of file -- cgit v1.2.3