summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/haunt.scm b/haunt.scm
index 07d23e3..dc8cd5c 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -75,6 +75,15 @@
((head . tail)
(loop tail (cons head result)))))))
+(define %collections
+ `(("Recent Blog Posts" "index.html" ,posts/reverse-chronological)))
+
+(define (static-page title file-name body)
+ (lambda (site posts)
+ (make-page file-name
+ (with-layout jakob-theme site title body)
+ sxml->html)))
+
(define jakob-theme
(theme #:name "jakob"
#:layout
@@ -138,15 +147,6 @@ free culture works available under the " ,%cc-by-sa-link " license.")
(a (@ (href ,uri)) "read more ➔"))))
posts)))))
-(define %collections
- `(("Recent Blog Posts" "index.html" ,posts/reverse-chronological)))
-
-(define (static-page title file-name body)
- (lambda (site posts)
- (make-page file-name
- (with-layout jakob-theme site title body)
- sxml->html)))
-
(define about-page
(static-page
"About Me"