From 396f184ea843d3fd07fc704ca511be208af587b5 Mon Sep 17 00:00:00 2001 From: discomrade Date: Sat, 5 Feb 2022 03:08:07 -0100 Subject: [PATCH] Extract footer into a template --- templates/footer.html | 7 +++++++ templates/generic_page.html | 8 +------- templates/index.html | 9 +-------- templates/page.html | 7 +------ templates/themes/basic/index.html | 7 +------ templates/themes/catalog/catalog.html | 7 +------ templates/themes/categories/news.html | 7 +------ templates/themes/frameset/news.html | 7 +------ templates/themes/index/index.html | 7 +------ templates/themes/recent/recent.html | 7 +------ templates/thread.html | 8 +------- 11 files changed, 17 insertions(+), 64 deletions(-) create mode 100644 templates/footer.html diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 00000000..e0bc176c --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/templates/generic_page.html b/templates/generic_page.html index 73a212de..614d1d30 100644 --- a/templates/generic_page.html +++ b/templates/generic_page.html @@ -37,13 +37,7 @@ [{{ page.num }}]{% if loop.last %} {% endif %} {% endfor %} {{ btn.next }} {{ boardlist.bottom }} - + {% include 'footer.html' %} diff --git a/templates/index.html b/templates/index.html index bc8c3e6b..7b439e1f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -128,14 +128,7 @@ {{ config.ad.bottom }} - + {% include 'footer.html' %} diff --git a/templates/page.html b/templates/page.html index 8e6a1e62..b6203a61 100644 --- a/templates/page.html +++ b/templates/page.html @@ -23,11 +23,6 @@ {{ body }}
- + {% include 'footer.html' %} diff --git a/templates/themes/basic/index.html b/templates/themes/basic/index.html index 4f7c4bdb..ced34c9e 100644 --- a/templates/themes/basic/index.html +++ b/templates/themes/basic/index.html @@ -37,12 +37,7 @@
- + {% include 'footer.html' %} {% endfilter %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index cf466f0d..03e84a08 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -115,12 +115,7 @@
- + {% include 'footer.html' %}