From 61eae5c5f9881cab29712f6e696085baa977e1f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 11 Sep 2019 12:19:34 +0800 Subject: release: v1.0.0 --- _includes/views/pagination.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 _includes/views/pagination.html (limited to '_includes/views/pagination.html') diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html new file mode 100644 index 0000000..11eb5aa --- /dev/null +++ b/_includes/views/pagination.html @@ -0,0 +1,33 @@ +{%- if page.paginator -%} + {%- assign paginator = page.paginator -%} +{%- elsif paginator == nil -%} + {%- assign paginator = site -%} +{%- endif -%} + +{%- if paginator.posts.size > 0 -%} + +{%- endif -%} -- cgit v1.2.3