chugging away, no i am not splitting this into fine-grained commits

This commit is contained in:
2026-02-18 10:58:36 -08:00
parent e4342e764f
commit 42ce6ceb6f
25 changed files with 844 additions and 13 deletions

24
_includes/footer.njk Normal file
View File

@ -0,0 +1,24 @@
<footer>
<ul>
<li>
<a href="/colophon" title="colophon" aria-label="colophon"
{% if page.url == "/colophon/" %}aria-current="page"{% endif %}>
colophon
</a>
</li>
<li>
<a href="/" title="go home"
aria-label="go home | {{ metadata.title }} from {{ metadata.author }} in 2026"
{% if page.url == "/" %}aria-current="page"{% endif %}>
{{ metadata.title }} from {{ metadata.author }} in 2026</a>
</li>
<li>
<a href="https://heckin.technology/inherentlee/leecat.art" title="source code"
aria-label="source code" target="_blank" rel="external">
src
</a>
</li>
</ul>
</footer>

22
_includes/header.njk Normal file
View File

@ -0,0 +1,22 @@
<header>
<a href="#main" id="skip" title="skip to main content" aria-label="skip to main content">
<i class="fa-solid fa-forward" aria-hidden="true"></i> skip
</a>
<nav aria-label="main navigation">
<ul>
{% for entry in collections.all | eleventyNavigation %}
<li>
<a href="{{ entry.url }}" title="{{ entry.data.label }}"
{% if entry.url == page.url %}aria-current="page"{% endif %}
aria-label="{{ entry.data.label }}">
<i class="{{ entry.data.icon }}" aria-hidden="true"></i>
<span class="menu-text">{{ entry.title }}</span>
</a>
</li>
{% endfor %}
</ul>
</nav>
</header>

View File

@ -16,6 +16,7 @@
{# Styles #}
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/nav.css">
{# Fonts #}
<link rel="preconnect" href="https://fonts.googleapis.com">
@ -26,5 +27,11 @@
<script src="https://kit.fontawesome.com/884dded219.js" crossorigin="anonymous"></script>
</head>
<body>
{{ content | safe }}
{% include "header.njk" %}
<main id="main">
{{ content | safe }}
</main>
{% include "footer.njk" %}
<body>

View File

@ -0,0 +1,6 @@
---
layout: base.njk
---
<h1>{{ title }}</h1>
{{ content | safe }}

View File

@ -0,0 +1,8 @@
---
layout: base.njk
---
<article>
<h1>{{ title }}</h1>
{{ content | safe }}
</article>

View File

@ -7,7 +7,7 @@
{% endif %}
<h2>{{ post.data.title }}</h2>
<ul>
{% for tag in post.data.tags %}
{% for tag in post.data.tags | removeBasicTags %}
<li>{{ tag }}</li>
{% endfor %}
</ul>