1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-10-31 23:45:54 +00:00

Add link for site-revision vs Github master comparison in footer

Quality of Life. What new features?
This commit is contained in:
TheAMM 2017-07-22 21:41:48 +03:00
parent 6b71cf101e
commit c31749c1d5

View file

@ -312,7 +312,10 @@
<footer style="text-align: center;"> <footer style="text-align: center;">
<p>Dark Mode: <a href="#" id="themeToggle">Toggle</a></p> <p>Dark Mode: <a href="#" id="themeToggle">Toggle</a></p>
{% if config.COMMIT_HASH %} {% if config.COMMIT_HASH %}
<p>Commit: <a href="https://github.com/nyaadevs/nyaa/tree/{{ config.COMMIT_HASH }}">{{ config.COMMIT_HASH[:7] }}</a></p> <p>
Commit: <a href="https://github.com/nyaadevs/nyaa/tree/{{ config.COMMIT_HASH }}" title="{{ config.COMMIT_HASH }}">{{ config.COMMIT_HASH[:7] }}</a><br>
<a class="small" href="https://github.com/nyaadevs/nyaa/compare/{{ config.COMMIT_HASH }}...master" title="Compare site-revision to Github master">(Pending changes)</a>
</p>
{% endif %} {% endif %}
</footer> </footer>
</body> </body>