From 1dfd93961b10e32a79081864a9e8763809bc0352 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 15 Jul 2024 02:37:53 -0600 Subject: Remove pages output directory, rename feed.xml to atom.xml --- src/operationnull/site.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/operationnull/site.scm') diff --git a/src/operationnull/site.scm b/src/operationnull/site.scm index 084bf1b..ad63b51 100644 --- a/src/operationnull/site.scm +++ b/src/operationnull/site.scm @@ -14,22 +14,23 @@ (define %blog-collection - `(("Posts" "/posts/index.html" ,posts/reverse-chronological))) + `(("Recent Posts" "/posts/index.html" ,posts/reverse-chronological))) (define main-site (site #:title "operationnull" - #:domain "operationnull.com" - #:posts-directory "content/posts" - #:build-directory "target" - #:default-metadata - '((author . "bdunahu")) - #:readers (list commonmark-reader) - #:builders (list (static-page index-content "index.html" "home") - (static-page contact-content "pages/contact.html" "contact") - (blog #:theme main-theme + #:domain "operationnull.com" + #:posts-directory "content/posts" + #:build-directory "target" + #:default-metadata + '((author . "bdunahu")) + #:readers (list commonmark-reader) + #:builders (list (static-page index-content "index.html" "home") + (static-page contact-content "/contact.html" "contact") + (blog #:theme main-theme #:prefix "/posts/" #:collections %blog-collection) - (static-page gold-content "pages/gold.html" "More Worthless than Gold") - (atom-feed) - (atom-feeds-by-tag) - (static-directory "content/assets" "assets")))) + (static-page gold-content "/gold.html" "More Worthless than Gold") + (atom-feed #:file-name "atom.xml" + #:subtitle "Recent Posts") + ;; (atom-feeds-by-tag) + (static-directory "content/assets" "assets")))) -- cgit v1.2.3