-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.toml
69 lines (58 loc) · 1.98 KB
/
config.toml
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
baseURL = "https://www.example.com/"
title = "Gallery Deluxe"
disableKinds = ["section", "taxonomy", "term"]
[params]
# Set to enable Plausible Analytics.
plausible_domain = ""
[params.gallerydeluxe]
# Shuffle the images in the gallery to give the impression of a new gallery each page load.
shuffle = false
# Reverse the order of the images in the gallery.
reverse = true
# Enable Exif data in the gallery.
# See https://gohugo.io/content-management/image-processing/#exif-data for how to filter tags.
enable_exif = true
# Optional watermark file for the large images.
[params.gallerydeluxe.watermark]
image = "images/gopher-hero8.png" # relative to /assets
posx = "left" # one of "left", "center", "right"
posy = "bottom" # one of "top", "center", "bottom"
[build]
[[build.cacheBusters]]
source = 'content/.*\.(png|jpg|jpeg)'
target = '(json)'
[[build.cacheBusters]]
source = 'layouts/.*'
target = '(json)'
[caches]
[caches.images]
dir = ':cacheDir/gallerydeluxe'
maxAge = "4320h" # 6 months.
[imaging]
resampleFilter = "CatmullRom"
quality = 71
anchor = "smart"
[imaging.exif]
disableDate = false
disableLatLong = true
includeFields = 'Artist|LensModel|FNumber|ExposureTime'
[server]
[[server.headers]]
for = '/**'
[server.headers.values]
Referrer-Policy = 'strict-origin-when-cross-origin'
[module]
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "layouts"
target = "layouts"
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "static"
target = "static"
[[module.imports]]
path = "github.com/bep/gallerydeluxe"