Use commonmark-reader.
This commit is contained in:
parent
77f615a542
commit
9602130237
|
@ -7,7 +7,7 @@ Here’s how to get Haunt and build the site:
|
||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
cd /path/to/this/dir
|
cd /path/to/this/dir
|
||||||
guix package -i haunt
|
guix environment --ad-hoc haunt guile-commonmark
|
||||||
haunt build
|
haunt build
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;; -*- geiser-scheme-implementation: guile -*-
|
;; -*- geiser-scheme-implementation: guile -*-
|
||||||
;;; Bootstrappable.org website
|
;;; Bootstrappable.org website
|
||||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of the Bootstrappable.org website.
|
;;; This file is part of the Bootstrappable.org website.
|
||||||
;;;
|
;;;
|
||||||
|
@ -28,6 +28,7 @@
|
||||||
(ice-9 ftw) ; file system
|
(ice-9 ftw) ; file system
|
||||||
(ice-9 match) ; match-lambda
|
(ice-9 match) ; match-lambda
|
||||||
(haunt reader)
|
(haunt reader)
|
||||||
|
(haunt reader commonmark)
|
||||||
(haunt reader skribe)
|
(haunt reader skribe)
|
||||||
(haunt site)
|
(haunt site)
|
||||||
(haunt asset)
|
(haunt asset)
|
||||||
|
@ -210,7 +211,7 @@ place them in the directory DEST."
|
||||||
'((author . "Ricardo Wurmus")
|
'((author . "Ricardo Wurmus")
|
||||||
(email . "rekado@elephly.net"))
|
(email . "rekado@elephly.net"))
|
||||||
#:make-slug %make-slug
|
#:make-slug %make-slug
|
||||||
#:readers (list skribe-reader html-reader)
|
#:readers (list skribe-reader html-reader commonmark-reader)
|
||||||
#:builders (list (lambda _
|
#:builders (list (lambda _
|
||||||
(read-page skribe-reader
|
(read-page skribe-reader
|
||||||
"index.skr"
|
"index.skr"
|
||||||
|
@ -218,7 +219,9 @@ place them in the directory DEST."
|
||||||
"index.html"))
|
"index.html"))
|
||||||
(lambda (args . rest)
|
(lambda (args . rest)
|
||||||
(wrap-pages "pages" "." default-layout
|
(wrap-pages "pages" "." default-layout
|
||||||
(list skribe-reader html-reader)))
|
(list skribe-reader
|
||||||
|
html-reader
|
||||||
|
commonmark-reader)))
|
||||||
(lambda _
|
(lambda _
|
||||||
(directory-assets "static" (const #t) "."))
|
(directory-assets "static" (const #t) "."))
|
||||||
(blog #:theme bootstrappable-theme
|
(blog #:theme bootstrappable-theme
|
||||||
|
|
Loading…
Reference in New Issue