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/site.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/operationnull/site.scm') diff --git a/src/operationnull/site.scm b/src/operationnull/site.scm index 203478f..2806d12 100644 --- a/src/operationnull/site.scm +++ b/src/operationnull/site.scm @@ -9,13 +9,14 @@ #:use-module (haunt reader) #:use-module (haunt reader commonmark) #:use-module (haunt site) + #:use-module (operationnull index) #:use-module (operationnull pages) #:use-module (operationnull static) #:use-module (operationnull theme) #:export (main-site)) (define %blog-collection - `(("Recent Posts" "/posts/index.html" ,posts/reverse-chronological))) + `(("All Posts" "/posts/index.html" ,posts/reverse-chronological))) (define main-site (site #:title "operationnull.com" @@ -25,10 +26,8 @@ #:default-metadata '((author . "bdunahu")) #:readers (list commonmark-reader) - #:builders (list (static-page index-content "index.html" "home") - (static-page contact-content "/contact.html" "contact") + #:builders (list index-page (static-page e404 "/404.html" "404 Error") - (static-page gold-content "/gold.html" "Shape God") (static-page recommend-content "/recommend.html" "cool stuff in categories") (static-directory "content/assets" "assets") (blog #:theme main-theme -- cgit v1.2.3