From 2ea660fc2a8dafb6ba9a4582e8ca5515e21c0fec Mon Sep 17 00:00:00 2001 From: tuxmain Date: Tue, 17 Oct 2023 10:27:27 +0200 Subject: [PATCH] opengraph --- config.toml | 1 + templates/base.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config.toml b/config.toml index 5ce1daf..857b9d3 100644 --- a/config.toml +++ b/config.toml @@ -17,3 +17,4 @@ highlight_code = false [extra] sitename = "Librezo" +public_url = "https://librezo.fr" diff --git a/templates/base.html b/templates/base.html index ac529a2..e84f79c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,6 +8,10 @@ {% if page.extra.leaflet or section.extra.leaflet %}{% endif %} + + + + {% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}{% endif %} {% block head %}{% endblock head %}