From 27073402e090ec21a2f1d9df0abb4f97bedd8957 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 27 Dec 2020 16:08:30 +0100 Subject: [PATCH] Add pipelines url --- articles/context_processors.py | 1 + articles/templates/articles/base.html | 3 ++- blog/settings.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/articles/context_processors.py b/articles/context_processors.py index e329a30..44a72e8 100644 --- a/articles/context_processors.py +++ b/articles/context_processors.py @@ -53,4 +53,5 @@ def blog_metadata(request): context["blog_title"] = settings.BLOG["title"] context["blog_description"] = settings.BLOG["description"] context["blog_author"] = settings.BLOG["author"] + context["blog_pipelines_url"] = settings.BLOG["repo"]["pipelines_url"] return context diff --git a/articles/templates/articles/base.html b/articles/templates/articles/base.html index a90ecd5..1ff115d 100644 --- a/articles/templates/articles/base.html +++ b/articles/templates/articles/base.html @@ -48,7 +48,8 @@ CC BY-SA 4.0 International License. Code blocks by Gabriel Augendre are licensed under the GNU GENERAL PUBLIC LICENSE version 3.
- Currently deployed version: {{ git_version }} + Currently deployed version: {{ git_version }}. You can check + for ongoing builds here.

diff --git a/blog/settings.py b/blog/settings.py index 83e975d..a0d7901 100644 --- a/blog/settings.py +++ b/blog/settings.py @@ -182,6 +182,7 @@ BLOG = { "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", }, }