feat: ADD work with local .env file #14

This commit is contained in:
Caffeine Fueled 2026-08-21 07:01:29 +02:00
parent 30e6956fa4
commit d0373f0198
Signed by: cf7
GPG key ID: CA295D643074C68C
4 changed files with 81 additions and 0 deletions

24
.env.example Normal file
View file

@ -0,0 +1,24 @@
# Shellery configuration
#
# cp .env.example .env
#
# Every value below is the built-in default, so an unedited copy changes
# nothing. .env is read from the working directory and is gitignored.
#
# Precedence: command line flags > environment > .env > these defaults.
# This file is sourced by build.sh, so shell syntax applies.
# Page title. Used for both <title> and the <h1> header.
# Special characters are HTML-escaped automatically.
# Flag: --title=TEXT
GALLERY_TITLE="Gallery"
# Show the "Powered by shellery" footer. 1 = show, 0 = hide.
# Flag: --no-footer
SHOW_FOOTER=1
# Strip EXIF/GPS/IPTC/XMP metadata from the images copied into output/.
# 1 = strip (requires exiftool), 0 = publish metadata as-is.
# Source images in images/ are never modified either way.
# Flag: --keep-exif
STRIP_EXIF=1