You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB

{% import "helpers/meta.njk" as helpers %}
<!doctype html>
<html lang="{{ site.language }}">
<head>
<meta charset="utf-8">
<title>
{{ site.title }} | {{ page.title }}
</title>
{{ helpers.meta(page, site) }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{ asset('/css/styles.css') }}" rel="stylesheet" type="text/css">
{% block addHead %}{% endblock %}
</head>
<body class="site-body">
<header class="site-header">
<div class="bar">
<div class="bar__start">
{% if page.filename == 'index.html' %}
<h1 class="site-header__title h3 m-top-4 m-bottom-4">
{{ site.title }}
</h1>
{% else %}
<a class="site-header__title h3 m-top-4 m-bottom-4" href="/">
{{ site.title }}
</a>
{% endif %}
</div>
</div>
</header>
<main class="site-main">
<div class="container">
<div class="grid">
<div class="col-12">
{% block main %}{% endblock %}
</div>
</div>
</div>
</main>
<footer class="site-footer">
<div class="container container-full">
<div class="grid">
<div class="col-12">
MIT License
</div>
</div>
</div>
</footer>
<script defer src="{{ asset('/js/critical.js') }}"></script>
{% block addFooter %}{% endblock %}
</body>
</html>