website-hadow.fr/_layouts/default.html
2024-02-26 13:16:37 +01:00

66 lines
1.9 KiB
HTML

{% case site.color-scheme %}
{% when "", nil, false, 0, empty %}
{% assign ColorScheme = "auto" %}
{% else %}
{% assign ColorScheme = site.color-scheme %}
{% endcase %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ "/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", ColorScheme | append: site.build_revision | relative_url }}">
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.build_revision | relative_url }}">
<link rel="preload" href="{{site.logo | relative_url}}" as="image">
{% include head-custom.html %}
</head>
<body>
<div class="wrapper">
<div class="sidebar">
<header>
{% if site.logo %}
<img class="img-circle" src="{{site.logo | relative_url}}" alt="Logo">
{% endif %}
{% if site.blank_title %}
<h1>{{ site.title | default: null }}</h1>
{% else %}
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: null }}</a></h1>
{% endif %}
{% if site.email %}
<p class="addr"><img src = "../assets/icons/svg/envelope-square.svg" width="25" height="25" viewBox="0 -5 1000 1000" preserveAspectRatio="xMidYMid meet" alt="mail"/>&nbsp;{{ site.email }}</p>
{% endif %}
<p>{{ site.description | default: null }}</p>
{% include sidebar.html %}
</header>
{% include links-mobile.html %}
<div class="sidebar-footer">
{%- include footer.html -%}
</div>
</div>
<section>
{{ content }}
</section>
<footer>
{%- include footer.html -%}
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
</body>
</html>