summaryrefslogtreecommitdiff
path: root/share/templates/default/camera.tmpl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-15 18:48:49 +0300
committerPaul Buetow <paul@buetow.org>2026-06-15 23:50:41 +0300
commite7aeb1f998aef664d3fc6cc21dc8c3b6b7579d01 (patch)
tree08ba293284c3ad5293fb2252407f83b5ddfebeb0 /share/templates/default/camera.tmpl
parent66a39be5271393b95cddae1bd61206eea8427934 (diff)
Move the stats site into a stats/ subdir to keep the album root small
The filter mini-albums put thousands of HTML files directly in the album root. Reorganise so only the main album lives in DIST_DIR and all stats content goes under stats/: stats/index.html - the stats overview (was stats.html) stats/<pagebase>/index.html - each filter gallery (was <pagebase>.html) stats/<pagebase>/<index>.html - each filter view page (was <pagebase>--N.html) Each mini-album is its own directory, so no single directory holds more than one filter's pages. Links updated accordingly: the overview links to <pagebase>/, the gallery thumbnails link to sibling <index>.html, view prev/next/gallery are same-dir, and assets/album-details/back-to-stats resolve via the ../.. backhref. The header Stats link and camera.tmpl back link point at stats/index.html. Mini-albums still reuse the shared photos/thumbs/blurs assets and render in parallel. Tests and the dry-run plan updated for the new layout; README documents the stats/ subdirectory structure. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'share/templates/default/camera.tmpl')
-rw-r--r--share/templates/default/camera.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/templates/default/camera.tmpl b/share/templates/default/camera.tmpl
index 982e32f..3b9d2f6 100644
--- a/share/templates/default/camera.tmpl
+++ b/share/templates/default/camera.tmpl
@@ -17,7 +17,7 @@ cat <<END
<div class="view stats camera">
<h1 class="stats-title">${render_title_html} &mdash; ${render_camera_name_html}</h1>
<div class="stats-back navigator">
- <a href="${render_backhref_html}/stats.html">Back to stats</a>
+ <a href="${render_backhref_html}/stats/index.html">Back to stats</a>
</div>
</div>
<div class="camera-thumbs">