nasg/config.ini.dist

125 lines
1.8 KiB
Text
Raw Normal View History

2017-05-23 11:14:47 +01:00
[common]
2017-10-27 10:44:01 +01:00
base = ~/
domain = domain.com
build = ~/web
2017-05-23 11:14:47 +01:00
files = files
2017-10-27 10:44:01 +01:00
[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
2017-10-27 10:44:01 +01:00
[archive]
favorite = ${dirs:archive}/favorite
[photo]
regex = (author name)
2017-10-27 10:44:01 +01:00
watermark = ${dirs:tmpl}/watermark.png
default = 720
[downsize]
;90 = s
;360 = m
720 = z
1280 = b
2017-10-27 10:44:01 +01:00
[crop]
;90 = true
2017-05-23 11:14:47 +01:00
[var]
2017-10-27 10:44:01 +01:00
searchdb = ${dirs:var}/s.sqlite
webmentiondb = ${dirs:var}/webmention.sqlite
redirects = ${dirs:content}/redirects.tsv
gone = ${dirs:content}/gone.tsv
2017-10-27 10:44:01 +01:00
tokendb = ${dirs:var}/tokens.json
cache = ${dirs:var}/cache
2017-05-23 11:14:47 +01:00
[site]
title =
2017-05-23 11:14:47 +01:00
url = https://${common:domain}
2017-10-27 10:44:01 +01:00
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/
2017-10-27 10:44:01 +01:00
[display]
pagination = 12
norender = page
2017-10-27 10:44:01 +01:00
[licence]
default = by-nc-nd
2017-05-23 11:14:47 +01:00
[author]
name = Author Name
email = author@domain.com
2017-05-23 11:14:47 +01:00
url = ${site:url}
2017-10-27 10:44:01 +01:00
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
2017-05-23 11:14:47 +01:00
2017-10-27 10:44:01 +01:00
[api_flickr]
api_key =
api_secret =
username =
2017-05-23 11:14:47 +01:00
2017-10-27 10:44:01 +01:00
[api_500px]
api_key =
api_secret =
2017-05-23 11:14:47 +01:00
2017-10-27 10:44:01 +01:00
[api_tumblr]
api_key =
api_secret =
2017-10-27 10:44:01 +01:00
[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 =