summaryrefslogtreecommitdiff
path: root/website/www.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-09 14:18:35 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-09 14:18:35 +0100
commit3f6bff6ca30d062fd421cc7806b34e3ea4da12db (patch)
treebc360e22b5c68e8b015a7424161cd2e2431f05d1 /website/www.scm
parentf3ad5e8422b6375029e1526eeb9ea2909b157181 (diff)
downloadguix-artwork-3f6bff6ca30d062fd421cc7806b34e3ea4da12db.tar
guix-artwork-3f6bff6ca30d062fd421cc7806b34e3ea4da12db.tar.gz
website: Add post about GSoC.
* website/posts/join-gnu-guix-for-gsoc-2017.md: New file. * website/haunt.scm: Add COMMONMARK-READER. * website/www.scm (sxml->string*)[sxml->strings]: Automatically wrap lists in <div>.
Diffstat (limited to 'website/www.scm')
-rw-r--r--website/www.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/website/www.scm b/website/www.scm
index dd21722..0babe92 100644
--- a/website/www.scm
+++ b/website/www.scm
@@ -1,5 +1,5 @@
;;; GuixSD website --- GNU's advanced distro website
-;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;;; Initially written by Luis Felipe López Acevedo <felipe.lopez@openmailbox.org>
;;; who waives all copyright interest on this file.
@@ -59,7 +59,9 @@ string."
(((? symbol?) body ...)
(append-map sxml->strings body))
((? string?)
- (list tree))))
+ (list tree))
+ ((lst ...)
+ (sxml->strings `(div ,@lst)))))
(string-concatenate (sxml->strings tree)))