Add get_app_version and version

This commit is contained in:
Jesús
2020-12-17 15:31:11 -05:00
parent 5edcaa4f9d
commit a7c1f2a34e
5 changed files with 68 additions and 1 deletions

View File

@@ -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>