config.ini.dist (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
[common]
base = ~/
domain = domain.com
build = ~/web
files = files
[dirs]
content = ${common:base}/content
tmpl = ${common:base}/nasg/templates
files = ${common:base}/${common:files}
static = ${common:base}/static
var = ${common:base}/var
archive = ${common:base}/archive
comment = ${common:base}/comment
[archive]
favorite = ${dirs:archive}/favorite
[photo]
regex = (author name)
watermark = ${dirs:tmpl}/watermark.png
default = 720
[downsize]
;90 = s
;360 = m
720 = z
1280 = b
[crop]
;90 = true
[var]
searchdb = ${dirs:var}/s.sqlite
webmentiondb = ${dirs:var}/webmention.sqlite
redirects = ${dirs:content}/redirects.tsv
gone = ${dirs:content}/gone.tsv
tokendb = ${dirs:var}/tokens.json
cache = ${dirs:var}/cache
[site]
title =
url = https://${common:domain}
lang = en
domains = ${common:domain}
feed = feed
appendwith = author websub
[tip_label]
paypal = PayPal
monzo = Monzo (UK)
[tip_value]
paypal = £3
monzo = £3
[tip_url]
paypal = https://paypal.me/username/3GBP
monzo = https://monzo.me/username/3
[websub]
hub = https://hubname.superfeedr.com/
[display]
pagination = 12
norender = page
[licence]
default = by-nc-nd
[author]
name = Author Name
email = author@domain.com
url = ${site:url}
avatar = ${site:url}/avatar.jpg
gpg = pgp.asc
sip = sip.account@domain.com
xmpp = xmpp.account@domain.com
flickr = flickr username
github = github username
icq = ICQ username
telegram = Telegram username
[api_flickr]
api_key =
api_secret =
username =
[api_500px]
api_key =
api_secret =
[api_tumblr]
api_key =
api_secret =
[api_deviantart]
api_key =
api_secret =
username =
[listener]
host = 127.0.0.1
port = 8008
[api_telegram]
api_token =
chat_id =
[api_spotify]
api_key =
api_secret =
[api_lastfm]
api_key =
api_secret =
username =
logfile = ${dirs:archive}/lastfm.csv
[api_twitter]
api_key =
api_secret =
username =
userid =
|