misuzu/templates/redirects/landing.twig

29 lines
1.4 KiB
Twig

{% extends 'redirects/master.twig' %}
{% set html_title = globals.site_info.name ~ ' Redirect Service' %}
{% block content %}
<div class="redir-landing">
<div class="redir-landing-content">
<article class="redir-landing-body">
<p><div class="redir-landing-logo"></div></p>
<h1>{{ html_title }}</h1>
<p>Short URL Service for <a href="{{ globals.site_info.url }}" rel="noopener">{{ globals.site_info.name }}</a></p>
</article>
<footer class="redir-landing-footer">
<p>
<a href="https://flash.moe" target="_blank" rel="noopener">flashwave</a>
2013-{{ ''|date('Y') }} /
{% set git_branch = git_branch() %}
{% if git_branch != 'HEAD' %}
<a href="https://patchii.net/flashii/misuzu/src/branch/{{ git_branch }}" target="_blank" rel="noopener">{{ git_branch }}</a>
{% else %}
{% set git_tag = git_tag() %}
<a href="https://patchii.net/flashii/misuzu/src/tag/{{ git_tag }}" target="_blank" rel="noopener">{{ git_tag }}</a>
{% endif %}
# <a href="https://patchii.net/flashii/misuzu/commit/{{ git_commit_hash(true) }}" target="_blank" rel="noopener">{{ git_commit_hash() }}</a>
</p>
</footer>
</div>
</div>
{% endblock %}