From 70c4bda6dbfec347f53ef12dd965e5af7c89fcbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Thu, 11 Jul 2024 09:26:04 +0200 Subject: [PATCH] Add url_abs() to allow not unique slugs Management of exceptions to detect dead or ambiguous links --- .../templates/jinja2/blocks/footer.en.html | 2 +- .../templates/jinja2/blocks/footer.fr.html | 2 +- .../templates/jinja2/blocks/navbar.en.html | 2 +- .../templates/jinja2/blocks/navbar.fr.html | 2 +- content/templates/jinja2/widgets/navbar.html | 2 +- galae-content/pages/en/en-index.md | 2 +- galae-content/pages/{ => fr}/fr-index.md | 2 +- jssg/jinja2.py | 39 ++++++++++++++----- jssg/models.py | 24 ++++++------ jssg/urls.py | 15 +++---- jssg/views.py | 2 +- 11 files changed, 56 insertions(+), 38 deletions(-) rename galae-content/pages/{ => fr}/fr-index.md (99%) diff --git a/common-content/templates/jinja2/blocks/footer.en.html b/common-content/templates/jinja2/blocks/footer.en.html index b6d4ccb..40cdc32 100644 --- a/common-content/templates/jinja2/blocks/footer.en.html +++ b/common-content/templates/jinja2/blocks/footer.en.html @@ -15,7 +15,7 @@