feat: move from cobalt to zola

This commit is contained in:
Kat Inskip 2025-07-08 02:01:41 -07:00
parent 78626987fe
commit 72899ff7f1
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
62 changed files with 356 additions and 225 deletions

24
templates/base.html Normal file
View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ config.extra.site_title }}</title>
{% include "head.html" %}
</head>
<body>
<div>
<header>
{% include "header.html" %}
</header>
<main>
{% block content %} {% endblock content %}
</main>
<footer>
{% include "footer.html" %}
</footer>
</div>
</body>
</html>

18
templates/blog.html Normal file
View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block content %}
<section id="blogposts">
<h2>Blogposts</h2>
<ul>
{% for post in section.pages %}
<li>
<article>
<a href="{{post.permalink | safe}}"><h3>{{ post.title }}</h3></a>
<p>Posted: <time>{{ post.date }}</time></p>
</article>
</li>
{% endfor %}
</ul>
</section>
{% endblock content %}

9
templates/footer.html Normal file
View file

@ -0,0 +1,9 @@
<hr>
<nav id="contact">
<ul>
<li>E-mail: kat (at) dork (dot) dev</li>
<li>Git: <a href="https://github.com/kittywitch">kittywitch</a></li>
<li>Other websites of mine: <a href="https://kittywit.ch">kittywit.ch</a>, <a href="https://inskip.me">inskip.me</a>.</li>
<li>Feed: <a href="/rss.xml">RSS</a></li>
</ul>
</nav>

7
templates/head.html Normal file
View file

@ -0,0 +1,7 @@
<meta charset="utf-8">
<title>{{ config.extra.site_title }}</title>
<link rel="stylesheet" type="text/css" href="/stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="{{ config.extra.site_title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ current_url }}" />

13
templates/header.html Normal file
View file

@ -0,0 +1,13 @@
<input name="color-scheme" type="radio" id="color-scheme-dark" value="dark">
<label for="color-scheme-dark">Dark</label>
<input name="color-scheme" type="radio" id="color-scheme-light" value="light">
<label for="color-scheme-light">Light</label>
<h1><a href="/">{{ config.extra.site_title }}</h1>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog</a></li>
</ul>
</nav>
<hr>

75
templates/index.html Normal file
View file

@ -0,0 +1,75 @@
{% extends "base.html" %}
{% block content %}
<section id="about">
<h2>About</h2>
Hi! I'm Kat. I have an eclectic range of interests.
</section>
<section id="interests">
<h2>Interests</h2>
<ul>
<li>Software Development</li>
<li>Video game modding</li>
<li>System Administration</li>
<li>Development Operations</li>
<li>Digital Infrastructure</li>
<li>Hobbyist Electronics</li>
<li>Smart Home Projects</li>
<li>Software-defined Radio</li>
<li>Amateur Radio (not yet licensed!)</li>
<li>Firearms</li>
<li>Anime and Manga</li>
<li>Cyber Security</li>
<li>3D Printing</li>
<li>Mechanical Keyboards</li>
</ul>
</section>
<section id="projects">
<h2>Projects</h2>
Please see <a href="https://github.com/kittywitch">my GitHub</a>.
<nav>
<ul>
<li>
<article>
<a href="https://github.com/TaimiHUD/TaimiHUD">
<h3>TaimiHUD/TaimiHUD</h3>
</a>
<p>A Rust Guild Wars 2 addon that provides Encounter Timers, Squad Marker Presets and Pathing for Nexus and ArcDPS.</p>
</article>
</li>
<li>
<article>
<a href="https://github.com/kittywitch/infrastructure">
<h3>kittywitch/infrastructure</h3>
</a>
<p>Personal NixOS + Terraform infrastructure repository.</p>
</article>
</li>
<li>
<article>
<a href="https://github.com/gensokyo.zone/infrastructure">
<h3>gensokyo-zone/infrastructure</h3>
</a>
<p>Apartment NixOS + Terraform infrastructure repository, a project with my wife!</p>
</article>
</li>
<li>
<article>
<a href="https://github.com/kittywitch/konawall-py">
<h3>kittywitch/konawall-py</h3>
</a>
<p>Wallpaper changer for multiple desktop environments with modular services intended to be used with boorus, currently konachan and e621.</p>
</article>
</li>
</ul>
</nav>
</section>
{% endblock content %}

9
templates/page.html Normal file
View file

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle"><strong><time>{{ page.date }}</time></strong></p>
{{ page.content | safe }}
{% endblock content %}