misuzu/templates/_layout/footer.twig

27 lines
1.5 KiB
Twig
Raw Normal View History

2022-09-13 13:14:49 +00:00
<footer class="footer">
<div class="footer__background"></div>
<div class="footer__wrapper">
{% autoescape false %}
<div class="footer__copyright">
<a href="https://flash.moe" target="_blank" rel="noreferrer noopener" class="footer__link">flashwave</a>
2022-09-13 13:14:49 +00:00
2013-{{ ''|date('Y') }} /
{% set git_branch = git_branch() %}
{% if git_branch != 'HEAD' %}
2023-11-20 19:04:59 +00:00
<a href="https://patchii.net/flashii/misuzu/src/branch/{{ git_branch }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_branch }}</a>
2022-09-13 13:14:49 +00:00
{% else %}
{% set git_tag = git_tag() %}
2023-11-20 19:04:59 +00:00
<a href="https://patchii.net/flashii/misuzu/src/tag/{{ git_tag }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_tag }}</a>
2022-09-13 13:14:49 +00:00
{% endif %}
2023-11-20 19:04:59 +00:00
# <a href="https://patchii.net/flashii/misuzu/commit/{{ git_commit_hash(true) }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_commit_hash() }}</a>
2023-08-31 21:33:34 +00:00
{% if globals.display_timings_info %}
2022-09-13 13:14:49 +00:00
/ Index {{ ndx_version() }}
2023-08-31 00:31:11 +00:00
/ {{ sql_query_count()|number_format }} queries
/ {{ (startup_time() - startup_time(constant('MSZ_TPL_RENDER')))|number_format(5) }} load
/ {{ startup_time(constant('MSZ_TPL_RENDER'))|number_format(5) }} template
/ {{ startup_time()|number_format(5) }} total
2022-09-13 13:14:49 +00:00
{% endif %}
</div>
{% endautoescape %}
</div>
</footer>