From 4e3af32f41dbe4caf3f98d14634376f473aab0ba Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 6 Sep 2025 09:03:47 +0200 Subject: [PATCH] fix: link to sources --- pelicanconf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 001067b..cdd3ec2 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -7,10 +7,11 @@ import sys sys.path.append(os.curdir) from globalconf import * +YEAR = "2025-2026" AUTHOR = "Benjamin Bertrand" SITENAME = "OpyTex" SITETITLE = "OpyTex" -SITESUBTITLE = "2025-2026" +SITESUBTITLE = YEAR SITEURL = "" CC_LICENSE_COMMERCIAL = True @@ -93,5 +94,5 @@ AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None # SOURCE LINK -GIT_SOURCE_BASE_URL = "https://git.opytex.org/spazz/2022-2023/src/branch/main" +GIT_SOURCE_BASE_URL = f"https://git.opytex.org/Cours/{YEAR}/src/branch/main" SOURCE_ICON_URL = "https://git.opytex.org/assets/img/logo.svg"