1
0
Fork 0
yinghong-massage.de/templates/base.tera.html
2022-10-25 01:11:48 +02:00

66 lines
2.1 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">
<style>
.grow-on-hover {
transition: all .3s ease-in-out;
}
.grow-on-hover:hover {
transform: scale(1.1);
}
.underline-on-hover:hover {
text-decoration: underline;
}
</style>
{% block styles %}{% endblock styles %}
</head>
<body class="d-flex flex-column min-vh-100">
{% include "partials/nav.tera.html" %}
<div class="container-xxl">
<br>
{% block content %}{% endblock content %}
<br>
</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>
{% block scripts %}{% endblock scripts %}
</body>
</html>