add guix.scm for use with guix environment -l guix.scm
[~bandali/bndl.org] / haunt.scm
CommitLineData
4b11ed9d
AB
1;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
2;;;
3;;; This program is free software; you can redistribute it and/or
4;;; modify it under the terms of the GNU General Public License as
5;;; published by the Free Software Foundation; either version 3 of the
6;;; License, or (at your option) any later version.
7;;;
8;;; This program is distributed in the hope that it will be useful,
9;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
10;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11;;; General Public License for more details.
12;;;
13;;; You should have received a copy of the GNU General Public License
14;;; along with this program. If not, see
15;;; <http://www.gnu.org/licenses/>.
16
17(use-modules (bandali feeds)
18 (bandali pages)
19 (bandali prefs)
20 (bandali tags)
21 (bandali theme)
85314da0 22 (haunt builder blog)
85314da0 23 (haunt builder assets)
85314da0
AB
24 (haunt post)
25 (haunt reader commonmark)
4b11ed9d 26 (haunt site))
7e8d7215 27
85314da0 28(site #:title "Amin Bandali"
8c2dfb46
AB
29 ;; TODO: uncomment after new haunt release
30 ;; #:scheme my-scheme
85314da0
AB
31 #:domain my-domain
32 #:default-metadata
33 '((author . "Amin Bandali")
34 (email . "bandali@gnu.org")
35 (domain . my-domain))
36 #:readers (list commonmark-reader)
37 #:builders (list (blog #:theme bandali-theme
38 #:collections
39 `(("Notes" "notes.html"
40 ,posts/reverse-chronological)))
cfff0eef 41 (tag-pages)
85314da0 42 index-page
99ac860d 43 (atom-feed
cfff0eef 44 #:file-name "notes.atom")
99ac860d 45 (atom-feeds-by-tag
cfff0eef 46 #:prefix my-tag-prefix)
99ac860d 47 (rss-feed
cfff0eef 48 #:file-name "notes.rss")
4b11ed9d
AB
49 (rss-feeds-by-tag
50 #:prefix my-tag-prefix)
7c12f0da 51 contact-page
cd68557a 52 cv-page
cd5ad35b 53 license-page
577bfe36 54 se212-f19-page
85314da0 55 (static-directory "static" "")))