From 1948178ad2565e2f78ccd5de10e3fe6c625fb538 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Sat, 28 Dec 2013 00:28:12 -0800 Subject: [PATCH] Moved pagination to include. --- _includes/pagination.html | 27 +++++++++++++++++++++++++++ index.html | 28 +--------------------------- 2 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 _includes/pagination.html diff --git a/_includes/pagination.html b/_includes/pagination.html new file mode 100644 index 0000000..6acb986 --- /dev/null +++ b/_includes/pagination.html @@ -0,0 +1,27 @@ +{% if paginator.total_pages > 1 %} + +{% endif %} diff --git a/index.html b/index.html index 047f72c..a253a4e 100644 --- a/index.html +++ b/index.html @@ -16,30 +16,4 @@

blog posts

{% endfor %} -{% if paginator.total_pages > 1 %} - -{% endif %} +{% include pagination.html %}