From 4661ec95b9169bfd463cbae951b81a04f88c6b8f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 22 Feb 2020 07:09:09 +0800 Subject: [PATCH] Split paginator from Home layout. --- _includes/post-paginator.html | 88 +++++++++++++++++++++++++++++++++++ _layouts/home.html | 80 +------------------------------ 2 files changed, 89 insertions(+), 79 deletions(-) create mode 100644 _includes/post-paginator.html diff --git a/_includes/post-paginator.html b/_includes/post-paginator.html new file mode 100644 index 0000000..238367d --- /dev/null +++ b/_includes/post-paginator.html @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html index 46b2584..6ebfe51 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -41,83 +41,5 @@ layout: page {% if paginator.total_pages > 0 %} - + {% include post-paginator.html %} {% endif %}