guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] website: Convert implementation to SXML.


From: Ludovic Courtès
Subject: Re: [PATCH] website: Convert implementation to SXML.
Date: Thu, 07 May 2015 15:07:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mathieu Lirzin <address@hidden> skribis:

> From 3d17099c6ac47adc283372c5f78240df10323d01 Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <address@hidden>
> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]