93 lines
3.7 KiB
Plaintext
93 lines
3.7 KiB
Plaintext
<!doctype html>
|
|
<html lang="{{ metadata.language }}">
|
|
<head>
|
|
{% include "metadata.njk" %}
|
|
<link rel="stylesheet" type="text/css" href="/css/index.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/webfonts/webfonts.css" />
|
|
{% if tags and (tags.includes('nowBurning') or tags.includes('status')) %}
|
|
<link rel="stylesheet" type="text/css" href="/css/microblog.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('blogroll') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/blogroll.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('galleryImage') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/gallery-images.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('metadata') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/metadata.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('navigator') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/navigator.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('profilePic') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/profile-pic.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('postList') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/post-list.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('tagList') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/tags.css" />
|
|
{% endif %}
|
|
{% if tags and (tags.includes('posts') or tags.includes('now')) %}
|
|
<link rel="stylesheet" type="text/css" href="/css/audio-player.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/code.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/comments.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/continue-discussion-on-mastodon.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/dropcap.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/fleuron.css" />
|
|
{% endif %}
|
|
{% if tags and tags.includes('guestbook') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/guestbook.css" />
|
|
{% endif %}
|
|
<link rel="stylesheet" type="text/css" href="/css/weather.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/woo-mode.css" />
|
|
{% if tags and tags.includes('quiz') %}
|
|
<link rel="stylesheet" type="text/css" href="/css/quiz.css" />
|
|
<link rel="stylesheet" type="text/css" href="/css/comments.css" />
|
|
{% endif %}
|
|
{% if includeTOC %}
|
|
<link rel="stylesheet" type="text/css" href="/css/toc.css" />
|
|
{% endif %}
|
|
{% if search %}
|
|
<link rel="stylesheet" href="/pagefind/pagefind-ui.css">
|
|
<link rel="stylesheet" type="text/css" href="/css/search.css" />
|
|
{% endif %}
|
|
<!-- Mochi webmentions -->
|
|
<link rel="webmention" href="https://mochi-webmentions.meadow.cafe/webmention/mochi@upchur.ch/1/receive" />
|
|
<!-- Indieweb profile links -->
|
|
{% if not excludeProfilesFromHead %}{% for link in metadata.socialLinks %}{% if not link.excludeFromHead %}<link {% if link.customAttribute %} {{ link.customAttribute | safe }} {% endif %} href="{{ link.linkURL }}" />{% endif %}{% endfor %}{% endif %}
|
|
<!-- /Indieweb profile links -->
|
|
{% include "structuredData.njk" %}
|
|
{% include "analytics.html" %}
|
|
</head>
|
|
<body>
|
|
{% include "header.njk" %}
|
|
<main id="skip">
|
|
{% if includeTOC %}
|
|
<section>
|
|
<article data-pagefind-body>
|
|
<h1>{{ h1 }}</h1>
|
|
<section>
|
|
<details class="toc">
|
|
<summary>Table of Contents</summary>
|
|
{{ content | toc(tags=['h2', 'h3', 'h4'], wrapper='div') | removeHash | safe }}
|
|
</details>
|
|
</section>
|
|
<section>
|
|
{{ content | safe }}
|
|
</section>
|
|
</article>
|
|
</section>
|
|
{% endif %}
|
|
{% if not includeTOC %}
|
|
<section>
|
|
{{ content | safe }}
|
|
</section>
|
|
{% endif %}
|
|
</main>
|
|
{% include "footer.njk" %}
|
|
{% include "weather.njk" %}
|
|
{% include "wooMode.njk" %}
|
|
</body>
|
|
</html>
|