From f26835fae0af5c27452ad364cda00fb56324d889 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 18 Mar 2025 18:25:58 +0100 Subject: [PATCH 1/3] [ADD] Opengraph Template for easier override --- allianceauth/authentication/templates/public/base.html | 7 +------ allianceauth/templates/allianceauth/base-bs5.html | 5 ++--- allianceauth/templates/allianceauth/opengraph.html | 5 +++++ 3 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 allianceauth/templates/allianceauth/opengraph.html diff --git a/allianceauth/authentication/templates/public/base.html b/allianceauth/authentication/templates/public/base.html index b73cfd4d..ada256e0 100644 --- a/allianceauth/authentication/templates/public/base.html +++ b/allianceauth/authentication/templates/public/base.html @@ -6,13 +6,8 @@ - - - - - - + {% include 'allianceauth/opengraph.html' %} {% include 'allianceauth/icons.html' %} {% block title %}{% block page_title %}{% endblock page_title %} - {{ SITE_NAME }}{% endblock title %} diff --git a/allianceauth/templates/allianceauth/base-bs5.html b/allianceauth/templates/allianceauth/base-bs5.html index a26531e7..1eba9aea 100644 --- a/allianceauth/templates/allianceauth/base-bs5.html +++ b/allianceauth/templates/allianceauth/base-bs5.html @@ -12,11 +12,10 @@ - - - + {% include 'allianceauth/opengraph.html' %} {% include 'allianceauth/icons.html' %} + {% block title %}{% block page_title %}{% endblock page_title %} - {{ SITE_NAME }}{% endblock title %} {% theme_css %} diff --git a/allianceauth/templates/allianceauth/opengraph.html b/allianceauth/templates/allianceauth/opengraph.html new file mode 100644 index 00000000..b7b0d682 --- /dev/null +++ b/allianceauth/templates/allianceauth/opengraph.html @@ -0,0 +1,5 @@ +{% load static %} + + + + From b7bacd11af02ed25a78dcf2bac3220fb433bcf83 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 18 Mar 2025 18:30:00 +0100 Subject: [PATCH 2/3] [CHANGE] Bring public base templkate in line with the non-public version --- allianceauth/authentication/templates/public/base.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/allianceauth/authentication/templates/public/base.html b/allianceauth/authentication/templates/public/base.html index ada256e0..39d9f520 100644 --- a/allianceauth/authentication/templates/public/base.html +++ b/allianceauth/authentication/templates/public/base.html @@ -1,19 +1,24 @@ {% load theme_tags %} {% load static %} - + + - + + {% include 'allianceauth/opengraph.html' %} {% include 'allianceauth/icons.html' %} + {% block title %}{% block page_title %}{% endblock page_title %} - {{ SITE_NAME }}{% endblock title %} {% theme_css %} + {% include 'bundles/fontawesome.html' %} + {% include 'bundles/auth-framework-css.html' %} {% block extra_include %} {% endblock %} From c93afd2d68c2e86f0b892823ff6a31d2226774af Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Tue, 18 Mar 2025 21:40:47 +0100 Subject: [PATCH 3/3] [ADD] Site name and URL --- allianceauth/templates/allianceauth/opengraph.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/allianceauth/templates/allianceauth/opengraph.html b/allianceauth/templates/allianceauth/opengraph.html index b7b0d682..bc960918 100644 --- a/allianceauth/templates/allianceauth/opengraph.html +++ b/allianceauth/templates/allianceauth/opengraph.html @@ -3,3 +3,6 @@ + + +