diff options
| author | bd <bdunahu@operationnull.com> | 2026-02-24 23:06:38 -0500 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2026-02-24 23:06:47 -0500 |
| commit | dce08a0f7210104927f5f145248c8d21c7e2afa8 (patch) | |
| tree | 6f8e661352ec0ae9225b38773d3484c9ac704a04 /src | |
| parent | 481e502918d59b3ab2a6149cc16aadee2039787f (diff) | |
add the blog back; wawa... :)
Diffstat (limited to 'src')
| -rw-r--r-- | src/operationnull/pages.scm | 2 | ||||
| -rw-r--r-- | src/operationnull/site.scm | 16 | ||||
| -rw-r--r-- | src/operationnull/theme.scm | 4 |
3 files changed, 17 insertions, 5 deletions
diff --git a/src/operationnull/pages.scm b/src/operationnull/pages.scm index 53eb660..945e97f 100644 --- a/src/operationnull/pages.scm +++ b/src/operationnull/pages.scm @@ -69,7 +69,7 @@ "Power metal. This song mostly got me into the metal genre along with Powerwolf, but I don't like the latter as much anymore. I do love the wolf theme, along with Catamenia." (li "Suldusk - Solus Ipse") "This song fits in a weird genre; pagan metal or folk. The deliberate mix of clean and growling vocals is beautiful, as sparing as they are. Wonderful atmosphere." - (li "The Ritual Aura - Keeing III: Dreamer's End") + (li "The Ritual Aura - Keening III: Dreamer's End") "Death metal. Might give myself whiplash, and guitar may be as edgy as the lyrics, but it tends to be very poetic. May be a reference to Elder Scrolls Morrowind, which I haven't played but should." (li "TOOL - Rosetta Stoned") "Rock; about psychedeilc visions of alien contact and supposed purpose. Storytelling is worth the 10+ minute length.")))) diff --git a/src/operationnull/site.scm b/src/operationnull/site.scm index 05bb048..80f6447 100644 --- a/src/operationnull/site.scm +++ b/src/operationnull/site.scm @@ -1,15 +1,19 @@ (define-module (operationnull site) #:use-module (haunt builder assets) + #:use-module (haunt builder atom) + #:use-module (haunt builder blog) #:use-module (haunt html) #:use-module (haunt post) #:use-module (haunt reader) - #:use-module (haunt reader skribe) + #:use-module (haunt reader commonmark) #:use-module (haunt site) #: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))) (define main-site (site #:title "operationnull" @@ -18,10 +22,16 @@ #:build-directory "target" #:default-metadata '((author . "bdunahu")) - #:readers (list skribe-reader) + #:readers (list commonmark-reader) #:builders (list (static-page index-content "index.html" "home") (static-page contact-content "/contact.html" "contact") (static-page e404 "/404.html" "404 Error") (static-page gold-content "/gold.html" "Shape God") (static-page music-content "/music.html" "music I like") - (static-directory "content/assets" "assets")))) + (static-directory "content/assets" "assets") + (blog #:theme main-theme + #:prefix "/posts/" + #:collections %blog-collection) + (atom-feeds-by-tag) + (atom-feed #:file-name "atom.xml" + #:subtitle "Recent Posts")))) diff --git a/src/operationnull/theme.scm b/src/operationnull/theme.scm index 88e04c0..a899575 100644 --- a/src/operationnull/theme.scm +++ b/src/operationnull/theme.scm @@ -53,6 +53,8 @@ "porphyrion")) (li (a (@ (href "https://git.operationnull.com/")) "git")) + (li (a (@ (href "/posts/")) + "blog")) (li (a (@ (href "/contact.html")) "contact")) (li (a (@ (href "/")) @@ -63,7 +65,7 @@ (script (@ (id "umaring_js") (src "https://umaring.mkr.cx/ring.js?id=bdunahu"))) (div (@ (id "umaring"))) - "Copyright © 2025 bdunahu" + "Copyright © 2024-2026 bdunahu" (br) "Site content available under the " ,%cc-by-sa-link " license " (a (@ (href "https://git.operationnull.com/operationnull.git/")) |
