diff options
Diffstat (limited to 'haunt/jakob/utils/pagination.scm')
| -rw-r--r-- | haunt/jakob/utils/pagination.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/haunt/jakob/utils/pagination.scm b/haunt/jakob/utils/pagination.scm index f869897..f75f02f 100644 --- a/haunt/jakob/utils/pagination.scm +++ b/haunt/jakob/utils/pagination.scm @@ -21,8 +21,8 @@ ;;; Code: (define-module (jakob utils pagination) + #:use-module (haunt artifact) #:use-module (haunt html) - #:use-module (haunt page) #:use-module (ice-9 match) #:use-module (srfi srfi-1) #:use-module (jakob theme) @@ -104,11 +104,11 @@ the item from ITEMS passed as a parameter." (index->file-name (1+ index)) #f)) (enable-search (and enable-search (= index 1)))) - (make-page (index->file-name index) - (theme #:title title - #:content - (render-listing (map render-item subset) title - previous-page next-page - #:enable-search enable-search)) - sxml->html)))) + (serialized-artifact (index->file-name index) + (theme #:title title + #:content + (render-listing (map render-item subset) title + previous-page next-page + #:enable-search enable-search)) + sxml->html)))) (paginate items))) |