Files

39 lines
1.8 KiB
Plaintext

<!doctype html>
<html lang="{{ site.language }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ page.summary }}">
<meta name="color-scheme" content="dark">
{% if page.type == "home" %}<title>Home — {{ site.title }}</title>{% else %}<title>{{ page.title }} — {{ site.title }}</title>{% endif %}
{% for stylesheet in theme.styles %}<link rel="stylesheet" href="{{ stylesheet }}">{% endfor %}
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
<header class="site-header">
<div class="wrap">
<div class="header-top">
<div class="brand-lockup">
<a class="brand-mark" href="/">{{ site.title }}</a>
<span class="brand-tag">{{ site.presentation.tagline }}</span>
</div>
<nav class="registry" aria-label="Primary navigation">
{% for item in navigation %}{% if item.route != "/" %}<a href="{{ item.route }}"{% if item.route == page.route %} aria-current="page"{% endif %}>{{ item.label }}</a>{% endif %}{% endfor %}
</nav>
</div>
<div class="header-links">
<span class="file-number">{{ site.presentation.registryLabel }}</span>
<div class="external-links">{% for link in site.presentation.headerLinks %}<a href="{{ link.url }}">{{ link.label }}</a>{% endfor %}</div>
</div>
</div>
</header>
<main id="main-content">{{ page.body | safe_page_body }}</main>
<footer class="site-footer">
<div class="wrap footer-row">
<p class="footer-brand">{{ site.presentation.footerNotice }}</p>
<div class="footer-links">{% for link in site.presentation.footerLinks %}<a href="{{ link.url }}">{{ link.label }}</a>{% endfor %}</div>
</div>
</footer>
</body>
</html>