From 73aefa28eb3fec8eef917b30fd57940f4038c115 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 5 Feb 2025 03:31:26 -0500 Subject: [PATCH] Symlink about page --- lib/DB.rakumod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/DB.rakumod b/lib/DB.rakumod index ca3f101..c4e7827 100644 --- a/lib/DB.rakumod +++ b/lib/DB.rakumod @@ -92,8 +92,11 @@ class PostDB { $out-dir.add('index.html').spurt: $config.generate-index(self); # Render the archive $out-dir.add('archive.html').spurt: $config.generate-archive(self); - # TODO: Render the rss/atom feed # TODO: Symlink the about article + my $about-path = $out-dir.add('about.html'); + $about-path.unlink if $about-path.l; + $by-id.add("{$!meta.about-id}.html").symlink: $about-path; + # TODO: Render the rss/atom feed die "Not Implemented" }