summary refs log tree commit diff stats
path: root/lib/config.sld
diff options
context:
space:
mode:
authorCase Duckworth2023-08-24 12:42:22 -0500
committerCase Duckworth2023-08-24 12:42:22 -0500
commit76b7e6eeaf99e5aeac3d9f651bc548f2c537ce85 (patch)
tree6bef69a73a9ed2619ac2bfc0a5ee75cc8714a3f7 /lib/config.sld
parentA new start (again) (diff)
downloadboudin-again.tar.gz
boudin-again.zip
bleh again
Diffstat (limited to 'lib/config.sld')
-rw-r--r--lib/config.sld16
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/config.sld b/lib/config.sld index bdd6ef5..f2c00df 100644 --- a/lib/config.sld +++ b/lib/config.sld
@@ -8,12 +8,15 @@
8 (boudin schmaltz) 8 (boudin schmaltz)
9 ;; not portable 9 ;; not portable
10 (chicken pathname) 10 (chicken pathname)
11 (chicken time posix)
11 (html-parser) 12 (html-parser)
12 ) 13 )
13 14
14 (export site-url site-dest 15 (export site-url site-dest
15 page-path-transformers page-text-transformers 16 page-path-transformers page-text-transformers
16 page-template index-template feed-template) 17 page-date-formats
18 page-template index-template feed-template
19 build-time)
17 20
18 (begin 21 (begin
19 ;; Site information 22 ;; Site information
@@ -42,4 +45,13 @@
42 (make-parameter 'todo)) 45 (make-parameter 'todo))
43 (define feed-template 46 (define feed-template
44 (make-parameter 'todo)) 47 (make-parameter 'todo))
45 )) 48 ;; Miscellaneous
49 (define page-date-formats
50 (make-parameter (list "%Y-%m-%d"
51 "%Y-%m-%d%n%H:%M"
52 "%Y-%m-%d%n%I:%M%n%p")))
53 ;; Not actually configuration, but state ... meh
54 (define build-time
55 (make-parameter
56 (time->string (seconds->utc-time) "%FT%TZ"))))
57 )