remove some vestigial files, add (gnu) favicon
[~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 ;; TODO: uncomment after new haunt release
30 ;; #:scheme my-scheme
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)))
41 (tag-pages)
42 index-page
43 (atom-feed
44 #:file-name "notes.atom")
45 (atom-feeds-by-tag
46 #:prefix my-tag-prefix)
47 (rss-feed
48 #:file-name "notes.rss")
49 (rss-feeds-by-tag
50 #:prefix my-tag-prefix)
51 contact-page
52 cv-page
53 license-page
54 se212-f19-page
55 (static-directory "static" "")))