1
0
Fork 0
yinghong-massage.de/templates/base.tera.html
2022-12-17 18:27:49 +01:00

63 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<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 }}" />
<link href="{{ get_url(path='bootstrap/bootstrap.min.css') }}"
rel="stylesheet"/>
<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>
<script src="{{ get_url(path='bootstrap/bootstrap.bundle.min.js') }}"></script>
{% block scripts %}
{% endblock scripts %}
</body>
</html>