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 |
[common]
base = ~/
domain = domain.com
build = ~/public
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
[archive]
favorite = ${dirs:archive}/favorite
[photo]
regex = your_regex_artist
watermark = ${dirs:tmpl}/watermark.png
default = 720
[downsize]
;90 = s
;360 = m
720 = z
1920 = b
[crop]
;90 = true
[var]
searchdb = ${dirs:var}/s.sqlite
webmentiondb = ${dirs:var}/webmention.sqlite
redirects = ${dirs:var}/redirects.tsv
gone = ${dirs:var}/gone.tsv
tokendb = ${dirs:var}/tokens.json
cache = ${dirs:var}/cache
[site]
title = Yet another static site
url = https://${common:domain}
lang = en
domains = ${common:domain}
websuburl = https://example.superfeedr.com/
[display]
pagination = 12
[licence]
default = by-nc-nd
[author]
name = Your Name
email = your_email
url = ${site:url}
avatar = ${site:url}/avatar.jpg
gpg = GPG long key
donateurl = https://paypal.me/yourname/3GBP
appendwith = socials
[socials]
flickr = https://www.flickr.com/people/your_flickr_handle
github = https://github.com/your_github_handle
[api_flickr]
api_key = api_key
api_secret = api_secret
username = username
[api_500px]
api_key = api_key
api_secret = api_secret
[api_tumblr]
api_key = api_key
api_secret = api_secret
[api_deviantart]
api_key = api_key
api_secret = api_secret
username = username
|