summaryrefslogtreecommitdiff
path: root/theme.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-02-05 21:01:58 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-02-05 21:01:58 -0500
commit64d3b7c70d479774e4dabdd498f23fced82a131c (patch)
treea5b9d23b12df40ec67b0c7b92129bdaf4e75e61b /theme.scm
parent14b8bb78e06cc1c8ac69173871b412a4f7112026 (diff)
Stop using deprecated page objects.
Diffstat (limited to 'theme.scm')
-rw-r--r--theme.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/theme.scm b/theme.scm
index 5992965..10c9dba 100644
--- a/theme.scm
+++ b/theme.scm
@@ -15,9 +15,9 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (theme)
+ #:use-module (haunt artifact)
#:use-module (haunt builder blog)
#:use-module (haunt html)
- #:use-module (haunt page)
#:use-module (haunt post)
#:use-module (haunt site)
#:use-module (ice-9 match)
@@ -132,9 +132,9 @@ free culture works available under the " ,%cc-by-sa-link " license.")
(define (static-page title file-name body)
(lambda (site posts)
- (make-page file-name
- (with-layout dthompson-theme site title body)
- sxml->html)))
+ (serialized-artifact file-name
+ (with-layout dthompson-theme site title body)
+ sxml->html)))
(define* (project-page #:key name file-name description usage requirements
installation manual? license repo releases guix-package