Fix typo in function name
[lw2-viewer.git] / config-example.lisp
blobbe8900f78871ac113d42bc2907c17065b4f03554
1 (in-package #:lw2-viewer.config)
3 (reset-site-definitions)
5 (define-site
6 :uri "http://localhost:4242/"
7 :title "Example Site"
8 :description "This is an example."
9 :class lesswrong-viewer-site
10 :main-site-title "LessWrong"
11 :main-site-abbreviation "LW"
12 :main-site-uri "https://www.lesswrong.com/"
14 ; The following line will enable use of fonts.obormot.net.
15 ; This will not work unless you have permission to use these fonts.
17 ; :fonts-source (make-instance 'obormot-fonts-source)
19 :backend ("lw2" ; Supported backends: lw2 ea-forum lw2-legacy arbital accordius
20 :graphql-uri "https://www.lesswrong.com/graphql"
21 :algolia-search-uri "https://z0gr6exqhd-dsn.algolia.net/1/indexes/*/queries?x-algolia-agent=Algolia%20for%20vanilla%20JavaScript%203.24.5%3Breact-instantsearch%204.1.3%3BJS%20Helper%202.23.0&x-algolia-application-id=Z0GR6EXQHD&x-algolia-api-key=0b1d20b957917dbb5e1c2f3ad1d04ee2"
22 :cache-db-path "./cache/")) ; Location of the cache database. Be sure to include the trailing slash.
24 ; (You can add more than one define-site directive.)
26 ; Maximum size of the cache database.
27 ; On platforms that don't support sparse files, you may want to reduce this
28 ; to conserve disk space. Default is 2^34 or 16GB.
29 (defparameter *lmdb-mapsize* (expt 2 34))
31 ; List of DNSBLs to check before allowing users to log in.
32 ;(defparameter *dnsbl-list* (list "dnsbl.example.com"))
34 ; List of extra resources to include on every page on every site.
35 ;(defparameter *html-global-resources* '())