414ef080fa476052b536df3a85d5005aea3585c2
[~bandali/bndl.org] / haunt.scm
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)
22 (haunt builder blog)
23 (haunt builder assets)
24 (haunt post)
25 (haunt reader commonmark)
26 (haunt site))
27
28 (site #:title "Amin Bandali"
29 #:scheme my-scheme ; requires haunt-next
30 #:domain my-domain
31 #:default-metadata
32 '((author . "Amin Bandali")
33 (email . "bandali@gnu.org")
34 (domain . my-domain))
35 #:readers (list commonmark-reader)
36 #:builders (list (blog #:theme bandali-theme
37 #:collections
38 `(("Notes" "notes.html"
39 ,posts/reverse-chronological)))
40 (tag-pages)
41 index-page
42 (atom-feed
43 #:file-name "notes.atom")
44 (atom-feeds-by-tag
45 #:prefix my-tag-prefix)
46 (rss-feed
47 #:file-name "notes.rss")
48 (rss-feeds-by-tag
49 #:prefix my-tag-prefix)
50 contact-page
51 cv-page
52 license-page
53 se212-f19-page
54 (static-directory "static" "")))