Add link to services status
This commit is contained in:
parent
b0ed4c8327
commit
77cffbea34
3 changed files with 5 additions and 0 deletions
|
@ -59,4 +59,5 @@ def blog_metadata(request):
|
|||
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
|
||||
|
|
|
@ -55,6 +55,9 @@
|
|||
<a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GENERAL PUBLIC LICENSE version 3</a>.<br>
|
||||
Currently deployed version: <a href="{{ git_version_url }}">{{ git_version }}</a>. You can check
|
||||
for ongoing builds <a href="{{ blog_pipelines_url }}">here</a>.
|
||||
{% if blog_status_url %}
|
||||
Status of services can be found <a href="{{ blog_status_url }}">here</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
|
|
|
@ -201,6 +201,7 @@ 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"),
|
||||
}
|
||||
|
||||
SHORTPIXEL_API_KEY = os.getenv("SHORTPIXEL_API_KEY")
|
||||
|
|
Reference in a new issue