abgame/templates/base.html

43 lines
1.9 KiB
HTML
Raw Normal View History

2023-06-04 11:53:32 +02:00
<!DOCTYPE html>
{%- if theme == "light" %}
2023-06-06 10:42:00 +02:00
<html lang="{{ i18n.lang }}" data-theme="light">
2023-06-04 11:53:32 +02:00
{%- else %}
2023-06-06 10:42:00 +02:00
<html lang="{{ i18n.lang }}" data-theme="dark">
2023-06-04 11:53:32 +02:00
{%- endif %}
<head>
<title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="/css/base.css?t={{ epoch }}">
<link rel="stylesheet" type="text/css" href="/css/colors.css?t={{ epoch }}">
2023-06-06 10:42:00 +02:00
{%- if config.animations == "1" or config.animations == "true" %}
2023-06-05 13:03:52 +02:00
<link rel="stylesheet" type="text/css" href="/css/animations.css?t={{ epoch }}">
{%- endif %}
2023-06-04 11:53:32 +02:00
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='favicon-16x16.png') }}">
<link rel="manifest" href="{{ url_for('static', filename='site.webmanifest') }}">
<link rel="mask-icon" href="{{ url_for('static', filename='safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="robots" content="noindex, nofollow">
2023-06-06 10:42:00 +02:00
<meta property="og:title" content="{{ i18n.title }}">
<meta property="og:site_name" content="{{ i18n.title }}">
<meta property="og:url" content="{{ config.url }}">
<meta property="og:description" content="{{ i18n.desc }}">
2023-06-04 11:53:32 +02:00
<meta property="og:type" content="website">
<meta property="og:image" content="{{ url_for('static', filename='ab.jpg') }}">
</head>
<body>
2023-06-06 11:33:48 +02:00
<div id="background">
<div id="content">
<div id="header">{{ i18n.title }}</div>
<hr>
{%- block main %}
{%- endblock %}
</div>
2023-06-04 11:53:32 +02:00
</div>
</body>
</html>