Closed varunchandak closed 1 year ago
my config.toml
baseURL = "https://XXXXXXX/"
title = "XXXXXXX"
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 = false
# Enable Exif data in the gallery.
# See https://gohugo.io/content-management/image-processing/#exif-data for how to filter tags.
enable_exif = false
[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"
my go.mod
file
module github.com/varunchandak/XXXXXX
go 1.19
require github.com/bep/gallerydeluxe v0.9.3 // indirect
current photos count is 239 (more coming soon)
OK,
timeout = 3m
(= 3 minutes, just a guess) to your site config.HUGO_CACHEDIR
to a directory that exists. Hugo will create one in a temp dir if not set, and that may not be optimal.
*.jpg
239
(more coming soon)