From 5c161ed13e616e31793fe25b69df6c6c94085ad5 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Fri, 13 Oct 2017 15:14:12 +0200 Subject: [PATCH] Refactor footer. Add link to home page, this fixes #9. Add links to _changes and _sitemap --- templates/article_revision.html | 3 +-- templates/changes.html | 7 +------ templates/default_footer.html | 3 +++ templates/site_wide_footer_items.html | 7 +++++++ templates/sitemap.html | 7 +------ 5 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 templates/default_footer.html create mode 100644 templates/site_wide_footer_items.html diff --git a/templates/article_revision.html b/templates/article_revision.html index e08fc9c..e4d83e6 100644 --- a/templates/article_revision.html +++ b/templates/article_revision.html @@ -33,7 +33,6 @@ diff --git a/templates/changes.html b/templates/changes.html index 6afb062..e0c4ece 100644 --- a/templates/changes.html +++ b/templates/changes.html @@ -19,9 +19,4 @@ - +{{>default_footer.html}} diff --git a/templates/default_footer.html b/templates/default_footer.html new file mode 100644 index 0000000..04fd2e7 --- /dev/null +++ b/templates/default_footer.html @@ -0,0 +1,3 @@ + diff --git a/templates/site_wide_footer_items.html b/templates/site_wide_footer_items.html new file mode 100644 index 0000000..491d4b1 --- /dev/null +++ b/templates/site_wide_footer_items.html @@ -0,0 +1,7 @@ + +

Powered by Sausagewiki

diff --git a/templates/sitemap.html b/templates/sitemap.html index 386bdae..d95a1bf 100644 --- a/templates/sitemap.html +++ b/templates/sitemap.html @@ -12,9 +12,4 @@ - +{{>default_footer.html}}