From cd444a1c1b36be8e20e68ec4938cd84e83d20e60 Mon Sep 17 00:00:00 2001 From: 27chan <27chan@protonmail.com> Date: Tue, 6 Dec 2022 16:55:26 -0300 Subject: [PATCH] Update footer Remove duplicate code footer in all pages Updated the link to the project on github --- 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 | 9 +++------ templates/themes/recent/recent.html | 9 +++------ templates/thread.html | 9 ++------- 11 files changed, 22 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..cc250141 --- /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 9d4716ef..ce06a6b1 100644 --- a/templates/generic_page.html +++ b/templates/generic_page.html @@ -35,13 +35,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 e606f9f6..118ddbcc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -88,14 +88,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 }}