taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

commit e95d322853615d43a14547140719e5ef972d0969
parent 0e44ced1d20b639b21421fca096cc69c293e358d
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  2 Oct 2025 17:04:52 +0100

Only include timestamp JS on video file

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

diff --git a/templates/file.html b/templates/file.html @@ -72,6 +72,7 @@ <video id="videoPlayer" controls loop muted width="600"> <source src="/uploads/{{.Data.EscapedFilename}}"> </video><br> + <script src="/static/timestamps.js" defer></script> {{else}} <a href="/uploads/{{.Data.EscapedFilename}}">Download file</a><br> {{end}} @@ -113,7 +114,6 @@ </div> <script src="/static/description.js" defer></script> - <script src="/static/timestamps.js" defer></script> </div>