From 89db3ed9d53bae1eeedd821fcd7fdb620922aa34 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 5 Jul 2024 00:33:36 -0700 Subject: Github Style Numbers only Pagination --- templates/index.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index c2ced13..0b1e83f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -59,7 +59,11 @@ This Template can also be used directly for the index eg: example.com/ or as the {%- endif %} {%- endfor %} + {%- if config.extra.arrow_pagination %} {{- macros::pagination(paginator=paginator, config=config) }} + {%- else %} + {{- macros::numpagination(paginator=paginator, config=config) }} + {%- endif %} {%- if config.extra.recent | default(value=true) %} {#- The following line is checking if the template is being used for the root or a section #} -- cgit v1.3.1