diff options
Diffstat (limited to 'haunt/jakob/builder/blogroll.scm')
| -rw-r--r-- | haunt/jakob/builder/blogroll.scm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/haunt/jakob/builder/blogroll.scm b/haunt/jakob/builder/blogroll.scm index 2e0f293..59ce221 100644 --- a/haunt/jakob/builder/blogroll.scm +++ b/haunt/jakob/builder/blogroll.scm @@ -15,8 +15,8 @@ ;;; <http://www.gnu.org/licenses/>. (define-module (jakob builder blogroll) + #:use-module (haunt artifact) #:use-module (haunt html) - #:use-module (haunt page) #:use-module (haunt utils) #:use-module (ice-9 match) #:use-module (jakob theme) @@ -101,16 +101,16 @@ each tag is used." "Return a page listing ENTRIES in PREFIX with a header of TITLE, as well as pages for each of the tags used in ENTRIES." (cons - (make-page (string-append prefix "/index.html") - (theme #:title title - #:content (render-entries title prefix entries)) - sxml->html) + (serialized-artifact (string-append prefix "/index.html") + (theme #:title title + #:content (render-entries title prefix entries)) + sxml->html) (map (match-lambda ((tag . entries) - (make-page (tag-uri prefix tag) - (theme #:title title - #:content (render-entries title prefix entries tag)) - sxml->html))) + (serialized-artifact (tag-uri prefix tag) + (theme #:title title + #:content (render-entries title prefix entries tag)) + sxml->html))) (group-by-tag entries entry-tags)))) |