diff options
author | Jesús <heckyel@hyperbola.info> | 2020-12-17 15:31:11 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-17 15:31:11 -0500 |
commit | a7c1f2a34ec5592597d7b09c4b240dfcf968273f (patch) | |
tree | 6be5fceaef647303b1f7368bfa18d0ec2af2034b /youtube/templates | |
parent | 5edcaa4f9dcfd005f3ed633ddcb5b432e954877e (diff) | |
download | yt-local-a7c1f2a34ec5592597d7b09c4b240dfcf968273f.tar.lz yt-local-a7c1f2a34ec5592597d7b09c4b240dfcf968273f.tar.xz yt-local-a7c1f2a34ec5592597d7b09c4b240dfcf968273f.zip |
Add get_app_version and version
Diffstat (limited to 'youtube/templates')
-rw-r--r-- | youtube/templates/base.html | 6 |
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> |