mince/templates/master.twig

37 lines
1.3 KiB
Twig

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{{ title|default(global.title) }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/mince.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<nav class="header">
<div class="header-inner">
<div class="header-logo">
<a href="/"><img src="/assets/weblogo.png" alt="Flashii Minecraft"></a>
</div>
<div class="header-fat"></div>
<div class="header-user">
{% if auth.success %}
Logged in as {{ auth.username }}
{% else %}
<a href="{{ global.loginUrl }}">Log in</a>
{% endif %}
</div>
</div>
</nav>
<div class="content">
{% block content %}
There is nothing here!
{% endblock %}
</div>
<footer class="footer">
<a href="https://flash.moe">Flashwave</a> 2022-{{ 'now'|date('Y') }} | Site design "borrowed" from pre-Microsoft Mojang | "Minecraft" is a trademark of Mojang
</footer>
</div>
</body>
</html>