26 lines
1.6 KiB
Twig
26 lines
1.6 KiB
Twig
<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>
|
|
2013-{{ ''|date('Y') }} /
|
|
{% set git_branch = git_branch() %}
|
|
{% if git_branch != 'HEAD' %}
|
|
<a href="https://git.flash.moe/flashii/misuzu/src/branch/{{ git_branch }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_branch }}</a>
|
|
{% else %}
|
|
{% set git_tag = git_tag() %}
|
|
<a href="https://git.flash.moe/flashii/misuzu/src/tag/{{ git_tag }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_tag }}</a>
|
|
{% endif %}
|
|
# <a href="https://git.flash.moe/flashii/misuzu/commit/{{ git_commit_hash(true) }}" target="_blank" rel="noreferrer noopener" class="footer__link">{{ git_commit_hash() }}</a>
|
|
{% if constant('MSZ_DEBUG') or current_user.super|default(false) %}
|
|
/ Index {{ ndx_version() }}
|
|
/ SQL Queries: {{ sql_query_count()|number_format }}
|
|
/ Took: {{ startup_time()|number_format(5) }} seconds
|
|
/ Load: {{ (startup_time() - startup_time(constant('MSZ_TPL_RENDER')))|number_format(5) }} seconds
|
|
/ Render: {{ startup_time(constant('MSZ_TPL_RENDER'))|number_format(5) }} seconds
|
|
{% endif %}
|
|
</div>
|
|
{% endautoescape %}
|
|
</div>
|
|
</footer>
|