aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/base.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 33e67a6..bb7437d 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -231,7 +231,11 @@
</main>
<footer class="footer">
<p>This site is Free/Libre Software</p>
- <p>Current version: 3304bab @ master</p>
+ {% if current_commit and current_version %}
+ <p>Current version: {{ current_version }}-{{ current_commit }} @ {{ current_branch }}</p>
+ {% else %}
+ <p>Current version: {{ current_version }}</p>
+ {% endif %}
</footer>
</body>