2024-04-24 02:27:26 +00:00
|
|
|
{% extends 'html.twig' %}
|
2023-10-12 18:45:11 +00:00
|
|
|
|
2023-10-13 23:56:33 +00:00
|
|
|
{% set error_string = 'HTTP %03d %s'|format(error_code, error_text) %}
|
|
|
|
{% set master_title = error_string ~ ' // flash.moe' %}
|
|
|
|
|
|
|
|
{% block master_head %}
|
2024-05-30 19:47:26 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2023-10-13 23:56:33 +00:00
|
|
|
<meta name="description" content="{{ error_blerb }}">
|
2024-04-24 14:44:32 +00:00
|
|
|
<link href="{{ globals.assetsInfo.get('errors.css') }}" rel="stylesheet">
|
2024-05-30 19:47:26 +00:00
|
|
|
<style>
|
|
|
|
:root {
|
|
|
|
--error-colour: {{ error_colour }};
|
|
|
|
}
|
|
|
|
</style>
|
2023-10-13 23:56:33 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block master_body %}
|
2023-10-12 18:45:11 +00:00
|
|
|
<div class="http-error">
|
2023-10-13 23:56:33 +00:00
|
|
|
<div class="http-error-container">
|
|
|
|
<nav class="http-error-top">
|
|
|
|
<div class="http-error-home"><a href="/">flash.moe</a></div>
|
|
|
|
<div class="http-error-nav">
|
|
|
|
<a href="mailto:contact@flash.moe" rel="noopener" target="_blank">E-mail</a>
|
|
|
|
<a href="https://bsky.app/profile/flash.moe" rel="noopener" target="_blank">Bluesky</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<article class="http-error-body">
|
|
|
|
<h1 class="http-error-header">{{ error_string }}</h1>
|
|
|
|
<div class="http-error-image">
|
|
|
|
<img src="{{ error_image }}" alt="{{ '%03d'|format(error_code) }}">
|
|
|
|
</div>
|
|
|
|
<p class="http-error-blerb">{{ error_blerb }}</p>
|
|
|
|
</article>
|
|
|
|
<footer class="http-error-footer">
|
|
|
|
<p>flash.moe is the personal website of flashwave</p>
|
|
|
|
<p><a href="https://vndb.org/v33" rel="noopener" target="_blank">KANON</a> is © 1999 <a href="https://visual-arts.jp/" rel="noopener" target="_blank">VirtualArts</a>/<a href="https://key.visualarts.gr.jp/" rel="noopener" target="_blank">Key</a></p>
|
|
|
|
<p>KANON HTTP Error illustrations are © Woody-RINN</p>
|
|
|
|
</footer>
|
|
|
|
</div>
|
2023-10-12 18:45:11 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|