46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<title>
|
|
{% if page.title %}
|
|
{{ page.title }}
|
|
{% elif section.title %}
|
|
{{ section.title }}
|
|
{% else %}
|
|
{{ config.title }}
|
|
{% endif %}
|
|
</title>
|
|
|
|
{% set image = resize_image(path=config.extra.logo_path, width=32, height=32, op="fill") %}
|
|
<link
|
|
rel="icon"
|
|
type="image/x-icon"
|
|
href="{{ image.url }}"
|
|
/>
|
|
|
|
<!-- From https://getbootstrap.com/docs/5.2/getting-started/introduction/ -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
|
|
</head>
|
|
<body class="d-flex flex-column min-vh-100">
|
|
{% include "partials/nav.tera.html" %}
|
|
|
|
<div class="container-xxl">
|
|
<br>
|
|
|
|
{% block content %}{% endblock content %}
|
|
</div>
|
|
|
|
<footer
|
|
class="mt-auto"
|
|
style="background-image: linear-gradient(white, {{ config.extra.primary_color }} 15%); text-align: center;"
|
|
>
|
|
{% include "partials/footer.tera.html" %}
|
|
</footer>
|
|
|
|
<!-- From https://getbootstrap.com/docs/5.2/getting-started/introduction/ -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|