aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJieiku2024-07-05 00:33:36 -0700
committerJieiku2024-07-05 00:33:36 -0700
commit89db3ed9d53bae1eeedd821fcd7fdb620922aa34 (patch)
treec98b4cd5701985e9c5de0ec313721e83c066ced7 /templates/index.html
parentbdba5bea4f6495499908265af1a249b45892184d (diff)
downloadabridge-89db3ed9d53bae1eeedd821fcd7fdb620922aa34.tar.gz
abridge-89db3ed9d53bae1eeedd821fcd7fdb620922aa34.tar.bz2
abridge-89db3ed9d53bae1eeedd821fcd7fdb620922aa34.zip
Github Style Numbers only Pagination
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html4
1 files changed, 4 insertions, 0 deletions
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 %}
</article>
{%- endfor %}
+ {%- if config.extra.arrow_pagination %}
{{- macros::pagination(paginator=paginator, config=config) }}
+ {%- else %}
+ {{- macros::numpagination(paginator=paginator, config=config) }}
+ {%- endif %}
</div>
{%- if config.extra.recent | default(value=true) %}
{#- The following line is checking if the template is being used for the root or a section #}