39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
{% set title = (meta.title ~ " | " ~ site.name) if meta.title else site.name %}
|
|
{% set description = meta.description or site.description %}
|
|
<title>{{ title }}</title>
|
|
<meta name="description" content="{{ description }}">
|
|
<link rel="canonical" href="{{ site.base_url }}{{ url }}">
|
|
{% if meta.noindex %}
|
|
<meta name="robots" content="noindex">{% endif %}
|
|
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="{{ site.name }}">
|
|
<meta property="og:title" content="{{ title }}">
|
|
<meta property="og:description" content="{{ description }}">
|
|
<meta property="og:url" content="{{ site.base_url }}{{ url }}">
|
|
<meta property="og:image" content="{{ site.base_url }}/assets/logo.png">
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
<link rel="icon" href="/assets/logo.png">
|
|
<link rel="stylesheet" href="/styles/main.css">
|
|
</head>
|
|
|
|
<body>
|
|
<a class="skip-link" href="#main">Skip to content</a>
|
|
{% include "partials/header.html" %}
|
|
<main id="main" tabindex="-1">
|
|
{% block content %}{{ content|safe }}{% endblock %}
|
|
</main>
|
|
{% include "partials/footer.html" %}
|
|
{% for s in meta.scripts or [] %}
|
|
<script src="/scripts/{{ s }}" defer></script>
|
|
{% endfor %}
|
|
</body>
|
|
|
|
</html> |