Update links to Gitea

This commit is contained in:
Gabriel Augendre 2021-02-07 07:31:40 +01:00
parent 19fb2b9fde
commit 65d8f00c76
3 changed files with 6 additions and 5 deletions

View file

@ -57,4 +57,5 @@ def blog_metadata(request):
context["blog_description"] = settings.BLOG["description"] context["blog_description"] = settings.BLOG["description"]
context["blog_author"] = settings.BLOG["author"] context["blog_author"] = settings.BLOG["author"]
context["blog_pipelines_url"] = settings.BLOG["repo"]["pipelines_url"] context["blog_pipelines_url"] = settings.BLOG["repo"]["pipelines_url"]
context["blog_repo_homepage"] = settings.BLOG["repo"]["homepage"]
return context return context

View file

@ -48,7 +48,7 @@
<p> <p>
Thoughts written here are my own and dont reflect any of my past, present Thoughts written here are my own and dont reflect any of my past, present
or future employer's position. or future employer's position.
The platform behind this blog is <a href="https://sr.ht/~crocmagnon/blog">free software</a>. The platform behind this blog is <a href="{{ blog_repo_homepage }}">free software</a>.
This blog and all articles by Gabriel Augendre are licensed under the This blog and all articles by Gabriel Augendre are licensed under the
<a href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0 International License</a>. <a href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0 International License</a>.
Code blocks by Gabriel Augendre are licensed under the Code blocks by Gabriel Augendre are licensed under the

View file

@ -194,10 +194,10 @@ BLOG = {
"description": "My take on tech-related subjects (but not only).", "description": "My take on tech-related subjects (but not only).",
"base_url": os.getenv("BLOG_BASE_URL", "https://gabnotes.org/"), "base_url": os.getenv("BLOG_BASE_URL", "https://gabnotes.org/"),
"repo": { "repo": {
"commit_url": "https://git.sr.ht/~crocmagnon/blog/commit/{commit_sha}", "commit_url": "https://git.augendre.info/gaugendre/blog/commit/{commit_sha}",
"homepage": "https://git.sr.ht/~crocmagnon/blog", "homepage": "https://git.augendre.info/gaugendre/blog",
"log": "https://git.sr.ht/~crocmagnon/blog/log", "log": "https://git.augendre.info/gaugendre/blog/commits/branch/master",
"pipelines_url": "https://gitlab.com/gaugendre/blog/pipelines", "pipelines_url": "https://drone.augendre.info/gaugendre/blog",
}, },
} }