Week 04 of 2025
Development log of Tad Lispy website
A11Y: Markup dates of blog posts with
On by
index 8963609..501000e 100644
--- a/templates/blog-post.html
+++ b/templates/blog-post.html
@@ -11,7 +11,7 @@
= <ul>
= <li><a href="{{ get_url(path='@/_index.md') }}">Tad Lispy</a></li>
= <li><a href="{{ get_url(path='@/blog/_index.md') }}">Blog</a></li>
- <li>{{ page.date }}</li>
+ <li><time>{{ page.date }}</time></li>
= </ul>
= </nav>
= <h1 class="title">{{ page.title | markdown(inline=true) | safe }}</h1>index 8fae357..15fbb96 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -26,7 +26,7 @@
= {% for post in section.pages %}
= <li>
= <a href="{{ post.permalink | safe }}">
- <small class="date"><time>{{ post.date }}</time></small>
+ <small class="date"><time datetime="{{ post.date }}">{{ post.date }}</time></small>
= <span class="title">{{- post.title | markdown(inline=true) | safe -}}</span>
= </a>
= </li>Remove unused "with" statements from flake.nix
On by
index 135001c..95fb37f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,7 +14,7 @@
= pkgs = import nixpkgs {
= inherit system overlays;
= };
- buildInputs = with pkgs; [
+ buildInputs = [
= ];
= nativeBuildInputs = with pkgs; [
= zola
@@ -25,7 +25,7 @@
= devShell = pkgs.mkShell {
= inherit buildInputs nativeBuildInputs;
= name = "${project-name}-develpoment-shell";
- packages = with pkgs; [
+ packages = [
= pkgs.jq
= pkgs.miniserve
= ];