From 105275f3e05bb730492551389e069a437c82a8a8 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 4 Nov 2025 17:05:49 +0000 Subject: [PATCH] Implement beginnings of tagging --- internal/conf/conf.go | 3 +- internal/conf/templates/base.tmpl.html | 9 ++ internal/conf/templates/view.tmpl.html | 111 +++++++++++++++++-------- internal/notes/notes.go | 54 +++++++++++- internal/templ/templ.go | 5 +- 5 files changed, 142 insertions(+), 40 deletions(-) diff --git a/internal/conf/conf.go b/internal/conf/conf.go index 0428e36..e232995 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -65,7 +65,8 @@ type Config struct { var ( Conf Config assets []Asset = []Asset{ - {Path: "css/bootstrap.min.css", Url: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"}, + {Path: "css/bootstrap.min.css", Url: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css"}, + {Path: "js/bootstrap.bundle.min.js", Url: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js"}, {Path: "css/tiny-mde.min.css", Url: "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.css"}, {Path: "js/tiny-mde.min.js", Url: "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.js"}, {Path: "icons/eye.svg", Url: "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/eye.svg"}, diff --git a/internal/conf/templates/base.tmpl.html b/internal/conf/templates/base.tmpl.html index cf1ff0e..f663226 100644 --- a/internal/conf/templates/base.tmpl.html +++ b/internal/conf/templates/base.tmpl.html @@ -23,6 +23,10 @@ crossorigin="anonymous"> + +