From 032edce5fa0ced46974e8f2dae705323ff1c1b8f Mon Sep 17 00:00:00 2001 From: marieotsuka Date: Fri, 2 Nov 2018 15:32:42 -0400 Subject: [PATCH] fix pagination issues --- solar/templates/base.html | 1 + solar/templates/category.html | 3 +-- solar/templates/index.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/solar/templates/base.html b/solar/templates/base.html index e23c3ed..d5e2510 100644 --- a/solar/templates/base.html +++ b/solar/templates/base.html @@ -212,6 +212,7 @@ function getServerData() { } getServerData(); +//mobile menu toggle document.getElementById('menu-s').addEventListener('click', function() { document.getElementById('menu-list').classList.toggle("show"); }); diff --git a/solar/templates/category.html b/solar/templates/category.html index 348a0f6..dd84342 100644 --- a/solar/templates/category.html +++ b/solar/templates/category.html @@ -18,7 +18,7 @@

There is a lot of potential in past and often forgotten knowledge and technologies when it comes to designing a sustainable society.

-{% if articles_page.has_other_pages() %} {% include 'pagination.html' %} {% endif %} {% endblock content %} diff --git a/solar/templates/index.html b/solar/templates/index.html index 887a50e..f8cef23 100644 --- a/solar/templates/index.html +++ b/solar/templates/index.html @@ -22,7 +22,7 @@