From 124252070e7b925b5a67bd5869f2082b5a593c88 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Thu, 27 Oct 2022 23:57:54 +0100 Subject: [PATCH] insert filter-search.js scripts into pages and archive templates. The filter code was moved to its own file and these two files utilse that code. So, these templates now must call them. The reason for moving the code out is to stop the browser's console printing errors -- because the filter JS code was trying to run on pages which didn't have the correct HTML. --- templates/archive.html | 1 + templates/pages.html | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/archive.html b/templates/archive.html index 3ec0b75..9eb02cb 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -21,4 +21,5 @@ {% endfor %} + {% endblock %} diff --git a/templates/pages.html b/templates/pages.html index 9830454..d783352 100644 --- a/templates/pages.html +++ b/templates/pages.html @@ -18,4 +18,5 @@ {% endfor %} + {% endblock %}