taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

commit 7ec6eb2b63b42963872c2173f1765fe46a83fd92
parent 6d2988d0f4dffc983feaf50efc5a3eca2b6f235f
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Fri, 28 Nov 2025 12:41:29 +0000

Increase size of txt icon and restore filename

Diffstat:
Mtemplates/_gallery.html | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/templates/_gallery.html b/templates/_gallery.html @@ -9,12 +9,13 @@ <div class="play-button"></div> </div> {{else if hasAnySuffix .File.Filename ".txt" ".md"}} - <svg width="64" height="64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"> + <svg width="96" height="96" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"> <rect width="64" height="64" fill="#f5f5f5" rx="8"/> <rect x="4" y="4" width="56" height="56" fill="none" stroke="#666" stroke-width="2" rx="6"/> <text x="32" y="42" font-family="sans-serif" font-size="26" font-weight="600" fill="#333" text-anchor="middle">Aa</text> </svg> + <br>{{.File.Filename}} {{end}} </a> </div>