diff options
author | 2020-08-22 01:41:20 +0200 | |
---|---|---|
committer | 2020-08-22 01:41:20 +0200 | |
commit | 75181a55977abe2eb6f3ac782b51bf13b8945024 (patch) | |
tree | b818ecf4e1d164660e9ff309eb31be34aaddf959 /pydis_site | |
parent | Add a context processor that outputs the git SHA. (diff) |
Add a comment with the git SHA to base templates.
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/templates/base/base.html | 1 | ||||
-rw-r--r-- | pydis_site/templates/wiki/base.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html index 4c70d778..70426dc1 100644 --- a/pydis_site/templates/base/base.html +++ b/pydis_site/templates/base/base.html @@ -37,6 +37,7 @@ {% render_block "css" %} </head> <body class="site"> + <!-- Git hash for this release: {{ git_sha }} --> <main class="site-content"> {% if messages %} diff --git a/pydis_site/templates/wiki/base.html b/pydis_site/templates/wiki/base.html index 846492ab..c9faf914 100644 --- a/pydis_site/templates/wiki/base.html +++ b/pydis_site/templates/wiki/base.html @@ -19,6 +19,7 @@ {% endblock %} {% block content %} + <!-- Git hash for this release: {{ git_sha }} --> {% block site_navbar %} {% include "base/navbar.html" %} {% endblock %} |