Browse Source

Update links to Gitea

master
Gabriel Augendre 3 weeks ago
parent
commit
65d8f00c76
3 changed files with 6 additions and 5 deletions
  1. +1
    -0
      articles/context_processors.py
  2. +1
    -1
      articles/templates/articles/base.html
  3. +4
    -4
      blog/settings.py

+ 1
- 0
articles/context_processors.py View File

@ -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

+ 1
- 1
articles/templates/articles/base.html View File

@ -48,7 +48,7 @@
<p>
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 <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
<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


+ 4
- 4
blog/settings.py View File

@ -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",
},
}


Loading…
Cancel
Save