summaryrefslogtreecommitdiff
path: root/src/shuriken.default.conf
blob: 9d0b1a89a7de63361c2b618b153e6aa65c47e4c7 (plain)
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
# The title of the shuriken
TITLE='A simple Shuriken'

# Thumbnail height geometry
THUMBHEIGHT=300
# Normal geometry height (when viewing photo). Uncomment, to keep original size.
HEIGHT=1200
# Max previews per page.
MAXPREVIEWS=40
# Parallel jobs for image processing and HTML template rendering.
IMAGE_JOBS=3
# Timeout in seconds for each ImageMagick command.
IMAGEMAGICK_TIMEOUT=60
# Randomly shuffle all previews.
# SHUFFLE=yes
# Generate a splash landing page at index.html.
SPLASH_PAGE=yes
# Generate an EXIF stats page (stats.html) plus per-camera pages, and show the
# Stats navigation link in page headers. Can be yes or no.
STATS_PAGE=yes
# Set to any non-empty value for repeatable background, animation, timestamp,
# and shuffled preview choices.
# RANDOM_SEED=album-build-1

# Diverse directories, need to be full paths, not relative!
INCOMING_DIR=$(pwd)/incoming
DIST_DIR=$(pwd)/dist
TEMPLATE_DIR=/usr/share/shuriken/templates/default
#TEMPLATE_DIR=/usr/share/shuriken/templates/minimal

# Custom favicon, published as favicon.ico. Leave unset/empty to use the bundled
# shuriken favicon. Can also be set with --favicon PATH.
#FAVICON=$(pwd)/my-favicon.ico

# Includes a .tar of the incoming dir in the dist, can be yes or no
TARBALL_INCLUDE=yes
TARBALL_SUFFIX=.tar
# Timeout in seconds for tar archive creation.
TAR_TIMEOUT=120
TAR_OPTS=(-c)

# Destinations for `shuriken --sync`. Each destination is passed to rsync
# with DIST_DIR/ as the source, so the generated contents are copied into the
# target directory. Sync deletes removed files from destinations by default.
SYNC_DELETE=yes
SYNC_DESTINATIONS=(
#    admin@fishfinger.buetow.org:/var/www/htdocs/example.org/
#    admin@blowfish.buetow.org:/var/www/htdocs/example.org/
)

# Some debugging options
#set -e
#set -x