aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/blog
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-18 14:35:59 +0300
committergrm <grm@eyesin.space>2026-09-18 14:36:17 +0300
commit7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8 (patch)
treefa2409b9c201a27e19a64afcdd5057eeba0a61ac /internal/web/templates/blog
parent0fc470a8d588cac1a51cc4b3e1a2237dc56041c9 (diff)
downloadblogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.tar.gz
blogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.tar.bz2
blogspace-7ac90f8e99dbf763b0fe04a17d7eef19dd22cae8.zip
Revert "Special pages: a gallery page of the blog's images"
This reverts commit 0fc470a. The feature was not wanted. Migration 00013 stays on disk because databases have already run it (goose refuses a missing applied migration); 00014 drops the column and table it added. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/templates/blog')
-rw-r--r--internal/web/templates/blog/gallery.html9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/web/templates/blog/gallery.html b/internal/web/templates/blog/gallery.html
deleted file mode 100644
index 4dbde13..0000000
--- a/internal/web/templates/blog/gallery.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{define "title"}}{{if not .Data.page.IsHome}}{{.Data.page.Title}} ยท {{end}}{{.Blog.Title}}{{end}}
-{{define "content"}}
-{{if not .Data.page.IsHome}}<h1 class="page-title">{{.Data.page.Title}}</h1>{{end}}
-{{if .Data.page.IntroHTML}}<div class="intro">{{html .Data.page.IntroHTML}}</div>{{end}}
-{{if .Data.images}}<div class="gallery">{{range .Data.images}}
- <a href="/media/{{.ID}}"><img src="/media/{{.ID}}" alt="{{.Filename}}" loading="lazy"></a>{{end}}
-</div>{{else if not (or .Data.page.IntroHTML .Data.page.OutroHTML)}}<p class="muted">{{t "Nothing here yet."}}</p>{{end}}
-{{if .Data.page.OutroHTML}}<div class="outro">{{html .Data.page.OutroHTML}}</div>{{end}}
-{{end}}