summary refs log tree commit diff stats
path: root/boudin.scm
diff options
context:
space:
mode:
authorCase Duckworth2023-07-23 11:21:58 -0500
committerCase Duckworth2023-07-23 11:21:58 -0500
commit3f39d53bc165c8f38e25a3a04ebd96f2148fa234 (patch)
tree3c45a9d3a072a69bd0d441683430c90ba42555f1 /boudin.scm
parentUse slugs (diff)
downloadboudin-3f39d53bc165c8f38e25a3a04ebd96f2148fa234.tar.gz
boudin-3f39d53bc165c8f38e25a3a04ebd96f2148fa234.zip
Etc
Diffstat (limited to 'boudin.scm')
-rwxr-xr-xboudin.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/boudin.scm b/boudin.scm index f746f24..28727ff 100755 --- a/boudin.scm +++ b/boudin.scm
@@ -22,6 +22,10 @@ boudin --- a little static site generator
22 (sxml-serializer) 22 (sxml-serializer)
23 (sxpath)) 23 (sxpath))
24 24
25;;; Utilities
26
27(define el sxml->html)
28
25;;; Transformations 29;;; Transformations
26;; A static site generator can be thought of largely as two sets of 30;; A static site generator can be thought of largely as two sets of
27;; transformations: one transforming given input content to output content, and 31;; transformations: one transforming given input content to output content, and
@@ -362,9 +366,10 @@ boudin --- a little static site generator
362 id: (page-url pg) 366 id: (page-url pg)
363 updated: (page-guess-updated pg) 367 updated: (page-guess-updated pg)
364 ;;published: 368 ;;published:
365 content: 369 content: (make-content
366 `(atom:content (@ (type "html")) 370 (sxml->html (page-dest pg))
367 ,(cdr (page-dest pg))))) 371 type: html)
372 #;`(atom:content "foo")))
368 pages)))))) 373 pages))))))
369 374
370;;; Publishing 375;;; Publishing