Mathieu Lirzin <[email protected]> skribis:
> From 3d17099c6ac47adc283372c5f78240df10323d01 Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <[email protected]>
> Date: Wed, 6 May 2015 17:36:01 +0200
> Subject: [PATCH] website: Convert implementation to SXML.
Thanks, applied! I added a basic export procedure such that we can
simply do:
scheme@(guile-user)> ,use(www)
scheme@(guile-user)> (export-web-site)
If you’re still motivated ;-), the next steps are URL factorization (as
discussed before) and header factorization. For the latter I imagine a
procedure like this:
(define (html-page-header title)
`(head (meta (@ (charset "utf-8")))
(meta (@ (name "author")
(content "GuixSD Contributors")))
;; rest of boilerplate...
(title ,title)))
Ludo’.