From 65a0fd2d23f274a7d13f6df6c7009cbe01dc3c7d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 19 Dec 2021 22:07:56 +0100 Subject: [PATCH] Remove pipelines url --- src/articles/context_processors.py | 1 - src/articles/templates/articles/base.html | 3 +-- src/blog/settings.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/articles/context_processors.py b/src/articles/context_processors.py index 5f0c3cf..e8c2985 100644 --- a/src/articles/context_processors.py +++ b/src/articles/context_processors.py @@ -57,7 +57,6 @@ 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"] context["blog_repo_homepage"] = settings.BLOG["repo"]["homepage"] context["blog_status_url"] = settings.BLOG["status_url"] return context diff --git a/src/articles/templates/articles/base.html b/src/articles/templates/articles/base.html index f0aa68e..0f879ad 100644 --- a/src/articles/templates/articles/base.html +++ b/src/articles/templates/articles/base.html @@ -53,8 +53,7 @@ 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 }}. You can check - for ongoing builds here. + Currently deployed version: {{ git_version }}. {% if blog_status_url %} Status of services can be found here {% endif %} diff --git a/src/blog/settings.py b/src/blog/settings.py index 53607ba..a28e52d 100644 --- a/src/blog/settings.py +++ b/src/blog/settings.py @@ -197,7 +197,6 @@ BLOG = { "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", }, "status_url": os.getenv("SERVICES_STATUS_URL"), }