1
0
Fork 0
mirror of https://github.com/Findus23/lw1.at.git synced 2024-09-08 02:53:46 +02:00
lw1.at/templates/base.html
2023-02-26 00:17:20 +01:00

43 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
<meta charset="UTF-8">
<meta name="generator" content="https://github.com/Findus23/lw1.at/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="modulepreload" href="/{{ entrypoints[js_entry_point] }}">
<link rel="stylesheet" href="/{{ entrypoints["assets/scss/main.scss"] }}">
{% block additionalCSS %}
{% endblock %}
{% block alternateLangTags %}
<link rel="alternate" hreflang="{{ lang }}" href="https://lw1.at{{ url }}"/>
<link rel="alternate" hreflang="{{ otherlang }}" href="https://lw1.at{{ otherlang_url }}"/>
{% endblock %}
<link rel="alternate" type="application/feed+json" href="https://lw1.at/{{ lang }}/postfeed.json">
<link rel="alternate" type="application/rss+xml" href="https://lw1.at/{{ lang }}/postfeed.xml">
{% block additionalHead %}
{% endblock %}
<title>{% block title %}{% endblock %} - lw1.at</title>
</head>
<body data-debug="{{ debug }}">
<div id="app" class="container">
<div class="topbuttons">
{% if type!="home" %}
<a href="/{{ lang }}" class="backButton btn">
<span class="arrow"></span> {% trans %}Back to the main page{% endtrans %}
</a>
{% endif %}
{% if otherlang_url is defined %}
<a href="{{ otherlang_url }}" class="languageSelector btn">
{% if lang=="de" %}English{% else %}Deutsch{% endif %}
</a>
{% endif %}
</div>
{% block content %}
{% endblock %}
</div>
<script type="module" async src="/{{ entrypoints[js_entry_point] }}"></script>
</body>
</html>