Hide fullName display on EA forum.
[lw2-viewer.git] / config-example.lisp
blob218a6c734175c2b0faeb66c09721277562a514c7
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 ;:magnum-crosspost-site "ea.example.com" ; set this to the hostname of another defined site to enable crosspost retrieval.
23 ; Uncomment the following for EA Forum OAuth 2.0 support.
24 ;:oauth2.0-login-uri "https://login.effectivealtruism.org/"
25 ;:oauth2.0-client-id "foo"
26 ;:oauth2.0-client-secret "bar"
28 :algolia-search-uri "https://www.lesswrong.com/api/search"
29 :cache-db-path "./cache/")) ; Location of the cache database. Be sure to include the trailing slash.
31 ; (You can add more than one define-site directive.)
33 ; Maximum size of the cache database.
34 ; On platforms that don't support sparse files, you may want to reduce this
35 ; to conserve disk space. Default is 2^34 or 16GB.
36 (defparameter *lmdb-mapsize* (expt 2 34))
38 ; List of DNSBLs to check before allowing users to log in.
39 ;(defparameter *dnsbl-list* (list "dnsbl.example.com"))
41 ; List of extra resources to include on every page on every site.
42 ;(defparameter *html-global-resources* '())