From 65d8f00c7603440285f1c0dbb3e439f76c6f71df Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 7 Feb 2021 07:31:40 +0100 Subject: [PATCH] Update links to Gitea --- articles/context_processors.py | 1 + articles/templates/articles/base.html | 2 +- blog/settings.py | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/articles/context_processors.py b/articles/context_processors.py index 6a99ca8..baf16e5 100644 --- a/articles/context_processors.py +++ b/articles/context_processors.py @@ -57,4 +57,5 @@ def blog_metadata(request): context["blog_description"] = settings.BLOG["description"] context["blog_author"] = settings.BLOG["author"] context["blog_pipelines_url"] = settings.BLOG["repo"]["pipelines_url"] + context["blog_repo_homepage"] = settings.BLOG["repo"]["homepage"] return context diff --git a/articles/templates/articles/base.html b/articles/templates/articles/base.html index 19e48d0..b0e005d 100644 --- a/articles/templates/articles/base.html +++ b/articles/templates/articles/base.html @@ -48,7 +48,7 @@

Thoughts written here are my own and dont reflect any of my past, present or future employer's position. - The platform behind this blog is free software. + The platform behind this blog is free software. This blog and all articles by Gabriel Augendre are licensed under the CC BY-SA 4.0 International License. Code blocks by Gabriel Augendre are licensed under the diff --git a/blog/settings.py b/blog/settings.py index 7fc3965..b2b7b93 100644 --- a/blog/settings.py +++ b/blog/settings.py @@ -194,10 +194,10 @@ BLOG = { "description": "My take on tech-related subjects (but not only).", "base_url": os.getenv("BLOG_BASE_URL", "https://gabnotes.org/"), "repo": { - "commit_url": "https://git.sr.ht/~crocmagnon/blog/commit/{commit_sha}", - "homepage": "https://git.sr.ht/~crocmagnon/blog", - "log": "https://git.sr.ht/~crocmagnon/blog/log", - "pipelines_url": "https://gitlab.com/gaugendre/blog/pipelines", + "commit_url": "https://git.augendre.info/gaugendre/blog/commit/{commit_sha}", + "homepage": "https://git.augendre.info/gaugendre/blog", + "log": "https://git.augendre.info/gaugendre/blog/commits/branch/master", + "pipelines_url": "https://drone.augendre.info/gaugendre/blog", }, }