2024-04-24 02:27:26 +00:00
|
|
|
{% extends 'html.twig' %}
|
|
|
|
|
|
|
|
{% set master_title = (header_title is defined ? (header_title ~ ' // ') : '') ~ 'flash.moe' %}
|
2024-05-30 19:47:26 +00:00
|
|
|
{% set master_navigation = master_navigation|default(globals.siteInfo.headerNavigation) %}
|
|
|
|
{% set master_copyright = master_copyright|default('flashwave 2010-%04d'|format('now'|date('Y'))) %}
|
|
|
|
{% set master_breadcrumbs = master_breadcrumbs|default([]) %}
|
2024-04-24 02:27:26 +00:00
|
|
|
|
2024-04-24 14:44:32 +00:00
|
|
|
{% block master_head %}
|
2024-05-30 19:47:26 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="preconnect" href="//fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="//fonts.gstatic.com" crossorigin>
|
2024-04-24 14:44:32 +00:00
|
|
|
<link href="{{ globals.assetsInfo.get('makai.css') }}" rel="stylesheet">
|
2024-05-30 19:47:26 +00:00
|
|
|
<link href="//fonts.googleapis.com/css2?family=Electrolize&family=Hachi+Maru+Pop&family=Victor+Mono:ital,wght@0,100..700;1,100..700&family=Zen+Maru+Gothic:wght@400;700&display=swap" rel="stylesheet">
|
2024-04-24 14:44:32 +00:00
|
|
|
{% endblock %}
|
2024-04-24 02:27:26 +00:00
|
|
|
|
2024-05-30 19:47:26 +00:00
|
|
|
{% block master_footer %}
|
|
|
|
<div class="footer">{{ master_copyright }}</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% set master_print_footer_in_body = block('column_right') is not defined %}
|
2024-04-24 02:27:26 +00:00
|
|
|
|
|
|
|
{% block master_body %}
|
2024-05-30 19:47:26 +00:00
|
|
|
<nav class="header js-header">
|
|
|
|
<div class="header-background js-header-background">
|
2024-04-24 02:27:26 +00:00
|
|
|
<img src="{{ random(globals.siteInfo.headerImages) }}" alt="">
|
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
<div class="header-forehead"></div>
|
|
|
|
<div class="header-foreground">
|
|
|
|
<div class="header-main">
|
|
|
|
<a class="header-logo" href="/">
|
|
|
|
<div class="header-flash">{{ header_logo_flash|default('flash') }}</div>
|
|
|
|
<div class="header-wave">{{ header_logo_wave|default('wave') }}</div>
|
|
|
|
</a>
|
|
|
|
<div class="header-nav">
|
|
|
|
{% for link in master_navigation %}
|
|
|
|
<a href="{{ link.url }}">{{ link.title }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% if master_breadcrumbs is not empty %}
|
|
|
|
<div class="header-sub">
|
|
|
|
<div class="header-breadcrumbs">
|
|
|
|
<a class="header-breadcrumbs-link" href="/">flash.moe</a>
|
|
|
|
{% for crumb in master_breadcrumbs %}
|
|
|
|
<div class="header-breadcrumbs-sep">»</div>
|
|
|
|
<a class="header-breadcrumbs-link" href="{{ crumb.url }}">{{ crumb.text }}</a>
|
|
|
|
{% endfor %}
|
2024-04-24 02:27:26 +00:00
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div class="wrapper">
|
|
|
|
<noscript>
|
|
|
|
<div class="noscript">
|
|
|
|
<div class="noscript-icon"><div class="noscript-icon-inner">!</div></div>
|
|
|
|
<div class="noscript-text">Various elements on this website require Javascript! Please enable it for an optimal experience.</div>
|
|
|
|
<div class="noscript-icon"><div class="noscript-icon-inner">!</div></div>
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
{% block wrapper %}
|
|
|
|
<div class="columns">
|
|
|
|
{% set column_left = (block('column_left') is defined ? block('column_left') : '') %}
|
|
|
|
{% if column_left|trim is not empty %}
|
|
|
|
<div class="columns-side columns-left">
|
|
|
|
{{ column_left|raw }}
|
2024-04-24 02:27:26 +00:00
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% set column_right = (block('column_right') is defined ? block('column_right') : '') %}
|
|
|
|
{% if column_right|trim is not empty %}
|
|
|
|
<div class="columns-side columns-right">
|
|
|
|
{{ column_right|raw }}
|
|
|
|
{% if not master_print_footer_in_body %}
|
|
|
|
{{ block('master_footer') }}
|
|
|
|
{% endif %}
|
2024-04-24 02:27:26 +00:00
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="columns-centre">
|
|
|
|
{% block column_centre %}
|
|
|
|
centre column
|
|
|
|
{% endblock %}
|
2024-04-24 02:27:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
{% endblock %}
|
2024-04-24 02:27:26 +00:00
|
|
|
</div>
|
2024-05-30 19:47:26 +00:00
|
|
|
{% if master_print_footer_in_body %}
|
|
|
|
{{ block('master_footer') }}
|
|
|
|
{% else %}
|
|
|
|
<div class="footer-spacing"></div>
|
|
|
|
{% endif %}
|
2024-04-24 14:44:32 +00:00
|
|
|
<script src="{{ globals.assetsInfo.get('makai.js') }}"></script>
|
2024-04-24 02:27:26 +00:00
|
|
|
{% endblock %}
|