weryskok.ru/templates/base.html
Alexander Minkin 7aa6938137
refactor: change SSG to Zola (#1)
* ci: disable action as it will need a rework

* refactor: change SSG to Zola

* ci: set up action for Zola
2024-09-22 15:06:28 +03:00

78 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{% block title %}
{% if section.title %}
{{ section.title }}
{% else %}
{{ page.title }}
{% endif %}
{% endblock title %}
</title>
<script
src="https://kit.fontawesome.com/48d163f212.js"
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://bootswatch.com/5/darkly/bootstrap.min.css"
crossorigin="anonymous"
/>
<!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> -->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: 'Inter', sans-serif;
}
</style>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#2d89ef" />
<meta name="theme-color" content="#ffffff" />
<script src="/assets/scripts/change_language.js"></script>
</head>
<body class="d-flex flex-column h-100">
{% include "header.html" %}
<main class="flex-shrink-0">
{% block content %}
{% if section.content %}
{{ section.content | safe }}
{% else %}
{{ page.content | safe }}
{% endif %}
{% endblock %}
</main>
{% include "footer.html" %}
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
crossorigin="anonymous"
></script>
</body>
</html>