From e952d06567369a0511a711c0e5d3f92dce3fb7eb Mon Sep 17 00:00:00 2001 From: ivar Date: Sat, 4 Apr 2026 16:15:47 +0200 Subject: feat: add editable slug field to admin form with JS auto-population --- internal/admin/templates/form.html | 81 ++++++++++++++++++++++++++------------ 1 file changed, 56 insertions(+), 25 deletions(-) (limited to 'internal') diff --git a/internal/admin/templates/form.html b/internal/admin/templates/form.html index 1b577c9..61c7cac 100644 --- a/internal/admin/templates/form.html +++ b/internal/admin/templates/form.html @@ -1,19 +1,28 @@ {{define "form-content"}}

{{.Title}}

-
+ + + +

URL path for this post (e.g. "my-post" → /my-post). Lowercase letters, numbers, and hyphens only.

+ - +

Comma-separated list of tags.

- - + + +
+