all repos — nasg @ 88dac0b2fb674f48f26f0053517a915fb11921ce

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
[common]
base = ~/your_base_directory
domain = your.domain.com
; thiss should be in the base directory speficied above
watermark = watermark_file.png
; size of the default image show, get one from the list in [downsize]
fallbackimg = 720
; items per page, also applies to RSS feed
pagination = 8

[source]
; directories for various content; all within "base" from "common"
content = content
files = files
templates = templates
tags = tag
photos = photos
offlinecopies = offlinecopies
; static is a folder where the contents will be copied to the destination
static = copy

[target]
; directories for various targets; all within "base" from "common"
; these are created automatically
build = build

[var]
; directories for various targets; all within "build" from "target"
; these are created automatically
searchdb = s

[site]
charset = UTF-8
title = additional title text | ${common:domain}
url = https://${common:domain}
default_lang = en
domains = ${common:domain} extra.domain

[author]
; author details for h-card
name = Your Name
email = your@email.address
url = ${site:url}
; you may want to put this into the "static" dir from "source"
avatar = name_of_avatar_file.jpg
; GPG long key
gpg = XXXX XXX XXXX XXXX

[socials]
; list of social network name = social network account
flickr = https://www.flickr.com/people/yourhandle
github = https://github.com/yourhandle
; feel free to add more

[photo]
; regex to be matched in EXIF data against EXIF:Author
regex = "this should be a tricky regex to match your usual author line in EXIF"

[downsize]
; size = suffix
90 = s
360 = m
720 = z
1280 = b

[crop]
; size = crop to square boolean, defaults to False
90 = true