From afd253a1b4517d28ec4d172a458e2327cd622689 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 9 Nov 2022 09:29:25 +0100 Subject: [PATCH] Fix OG image URL --- app/templates.py | 1 + app/templates/custom_page.html | 2 +- app/templates/index.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates.py b/app/templates.py index c5351bb..7b3be79 100644 --- a/app/templates.py +++ b/app/templates.py @@ -424,3 +424,4 @@ _templates.env.globals["BASE_URL"] = config.BASE_URL _templates.env.globals["HIDES_FOLLOWERS"] = config.HIDES_FOLLOWERS _templates.env.globals["HIDES_FOLLOWING"] = config.HIDES_FOLLOWING _templates.env.globals["NAVBAR_ITEMS"] = config.NavBarItems +_templates.env.globals["ICON_URL"] = config.CONFIG.icon_url diff --git a/app/templates/custom_page.html b/app/templates/custom_page.html index 0797dd9..2f1c937 100644 --- a/app/templates/custom_page.html +++ b/app/templates/custom_page.html @@ -14,7 +14,7 @@ - + {% endif %} diff --git a/app/templates/index.html b/app/templates/index.html index 1327c42..a6915a8 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -13,7 +13,7 @@ - + {% endblock %}