summaryrefslogtreecommitdiff
path: root/src/operationnull/site.scm
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-07-15 02:37:53 -0600
committerbd <bdunahu@operationnull.com>2024-07-15 02:37:53 -0600
commit1dfd93961b10e32a79081864a9e8763809bc0352 (patch)
tree6ea294aaee95b9bc6edc46f8a0dde6bdd4de912b /src/operationnull/site.scm
parentfc104353fbdcd592809f0e733de5844b5ade8f3d (diff)
Remove pages output directory, rename feed.xml to atom.xml
Diffstat (limited to 'src/operationnull/site.scm')
-rw-r--r--src/operationnull/site.scm29
1 files changed, 15 insertions, 14 deletions
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"))))