From dbe74f63885441498acd633b4d5b11ba48f1b2db Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 14 Nov 2022 18:18:27 -0800 Subject: [PATCH] Uses the same snippet for the footer across different templates --- bookwyrm/templates/layout.html | 48 +------------------ .../snippets/{2fa_footer.html => footer.html} | 0 .../two_factor_auth/two_factor_login.html | 2 +- .../two_factor_auth/two_factor_prompt.html | 2 +- 4 files changed, 3 insertions(+), 49 deletions(-) rename bookwyrm/templates/snippets/{2fa_footer.html => footer.html} (100%) diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 9e954411e..e58f65edd 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -192,53 +192,7 @@ - +{% include 'snippets/footer.html' %} {% endblock %}