46 lines
1.9 KiB
Text
46 lines
1.9 KiB
Text
<!DOCTYPE html>
|
|
<html lang="{{ lang if lang else "en" }}">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>{{ title + " - " if title }}{{ site.name }}</title>
|
|
<link rel="stylesheet" href="/styles.css" />
|
|
<link rel="alternate" type="application/atom+xml" title="" href="/feed.xml" />
|
|
{%- if headscripts %}
|
|
{%- for script in headscripts %}
|
|
<script src="{{ script }}" async defer></script>
|
|
{%- endfor %}
|
|
{%- endif %}
|
|
</head>
|
|
|
|
<body class="bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400">
|
|
<header class="md:container md:mx-auto p-8 flex flex-col md:flex-row justify-between items-center">
|
|
<div>
|
|
<div class="text-2xl font-bold text-center md:text-left">{{ site.name }}</div>
|
|
<div class="text-lg font-semibold italic text-center md:text-left">
|
|
{{ site.tagline }}
|
|
</div>
|
|
</div>
|
|
<div class="w-48 flex justify-between pt-4 md:pt-0">
|
|
<a href="/" class="{{ "no-underline" if page.fileSlug == "" }}">Home</a>
|
|
<a href="/blog/" class="{{ "no-underline" if page.fileSlug == "blog" }}">Blog</a>
|
|
<a href="/contact/" class="{{ "no-underline" if page.fileSlug == "contact" }}">Contact</a>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="mx-auto p-4 md:pt-20 prose dark:prose-light">
|
|
{{ content | safe }}
|
|
</main>
|
|
|
|
<footer class="p-4 pt-20 pb-10 text-center text-xs italic text-gray-400 dark:text-gray-600">
|
|
This work by
|
|
<a xmlns:cc="http://creativecommons.org/ns#" href="/" property="cc:attributionName" rel="cc:attributionURL">
|
|
{{ site.name }}
|
|
</a>
|
|
is licensed under a
|
|
<a rel="license" ref="noopener,noreferrer" href="http://creativecommons.org/licenses/by/4.0/" target="_blank">
|
|
Creative Commons Attribution 4.0 International License
|
|
</a>.
|
|
</footer>
|
|
</body>
|
|
</html>
|