summaryrefslogtreecommitdiff
path: root/examples/gipfel2html
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:10:45 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:10:45 +0100
commita40c31c2da22d155da49f8fc2e79aece004e601f (patch)
treed08ab79e626ed0cf93d93b32f9b220d65b647886 /examples/gipfel2html
parent6bf66bb291daa4cb924185231e67ecaccf250337 (diff)
examples: call them images, not panoramas
Any gipfel-annotated photo works, plain or stitched; the user-facing wording and comments should not imply panoramas specifically.
Diffstat (limited to 'examples/gipfel2html')
-rwxr-xr-xexamples/gipfel2html10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/gipfel2html b/examples/gipfel2html
index d6ad93f..ee69014 100755
--- a/examples/gipfel2html
+++ b/examples/gipfel2html
@@ -1,10 +1,10 @@
#!/bin/sh
# gipfel2html — generate the modern, CSS-only gipfelweb pages.
#
-# gipfel2html page <file> one panorama page (peaks + photos)
+# gipfel2html page <file> one image page (peaks + photos)
# gipfel2html gallery <f1> <f2> thumbnail gallery index
#
-# Markers are positioned in percent of the slide so the panorama can
+# Markers are positioned in percent of the slide so the image can
# scale freely (responsive default; a CSS-only checkbox switches to
# full resolution with horizontal scrolling). Interaction is pure CSS:
# hover for mouse, :focus-within for keyboard, :target for touch.
@@ -82,7 +82,7 @@ EOF
exit 0
fi
-# ---- one panorama page ----
+# ---- one image page ----
FILE="$2"
SLIDE="gipfelweb/slides/${FILE}.jpg"
HILLS="gipfelweb/gipfel/${FILE}.hills"
@@ -148,11 +148,11 @@ cat << EOF
</div>
EOF
-# related images: panoramas in which this one also appears
+# related images: other images in which this one also appears
rel=$(awk -F'\t' -v n="${FILE}.jpg" '$1 == n { print FILENAME; exit }' \
gipfelweb/gipfel/*.imgs 2>/dev/null || true)
if [ -n "$rel" ]; then
- echo '<section class="related"><h2>Visible on these panoramas</h2>'
+ echo '<section class="related"><h2>Visible on these images</h2>'
for f in $rel; do
img=$(basename "${f%.imgs}")
[ "$img" = "$FILE" ] && continue