From 30731133aff475f100cea7fac18017505a400c38 Mon Sep 17 00:00:00 2001 From: bdunahu Date: Fri, 21 Aug 2026 20:54:39 -0400 Subject: Move contact, blog to index. Rewrite index, structural changes. --- src/operationnull/utils.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/operationnull/utils.scm (limited to 'src/operationnull/utils.scm') diff --git a/src/operationnull/utils.scm b/src/operationnull/utils.scm new file mode 100644 index 0000000..39889ea --- /dev/null +++ b/src/operationnull/utils.scm @@ -0,0 +1,14 @@ +;; SPDX-License-Identifier: CC-BY-SA-4.0 +;; Copyright 2026 bdunahu +(define-module (operationnull utils) + #:use-module (ice-9 ftw) + #:use-module (ice-9 regex) + #:use-module (srfi srfi-2) + #:use-module (haunt site) + #:export (post-uri + get-art-metadata + collect-arts-in)) + +(define (post-uri site post) + (string-append "/posts/" (site-post-slug site post) ".html")) + -- cgit v1.2.3