From 5e0d20d3be0c976d639ab8b1bc1ea2ac311fc515 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Fri, 19 Jun 2015 21:02:45 +0200 Subject: [PATCH] Added pagination --- layouts/index.html | 5 +++-- layouts/partials/pagination.html | 18 ++++++++++++++++++ layouts/partials/post-list.html | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/pagination.html diff --git a/layouts/index.html b/layouts/index.html index 5176840..0e88383 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -12,8 +12,9 @@ {{ partial "profile.html" . }}
- {{ partial "post-list.html" . }} - {{ partial "footer.html" . }} + {{ partial "post-list.html" . }} + {{ partial "pagination.html" . }} + {{ partial "footer.html" . }}
{{ partial "js.html" . }} diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html new file mode 100644 index 0000000..dec402d --- /dev/null +++ b/layouts/partials/pagination.html @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html index 9b92284..138184f 100644 --- a/layouts/partials/post-list.html +++ b/layouts/partials/post-list.html @@ -1,5 +1,5 @@