From c4a6116722f7798967a8424cb47aad2a319e7a9c Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 15 Sep 2013 00:42:20 +1000 Subject: Optionally show page navigation bar at the top too. --- templates/index.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index d5e6cd18..0b4fed8d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,6 +25,17 @@ {% include 'post_form.html' %} + {% if config.page_nav_top %} +
+ {% for page in pages %} + [{{ page.num }}]{% if loop.last %} {% endif %} + {% endfor %} {{ btn.next }} + {% if config.catalog_link %} + | Catalog + {% endif %} +
+ {% endif %} + {% if config.global_message %}
{{ config.global_message }}
{% endif %}
@@ -33,9 +44,16 @@ {{ body }} {% include 'report_delete.html' %}
-
{{ btn.prev }} {% for page in pages %} + +
+ {{ btn.prev }} {% for page in pages %} [{{ page.num }}]{% if loop.last %} {% endif %} - {% endfor %} {{ btn.next }}
+ {% endfor %} {{ btn.next }} + {% if config.catalog_link %} + | Catalog + {% endif %} +
+ {{ boardlist.bottom }}