add custom usernames to guestbook

")

")

=> /guestbook Back to guestbook")
")

")
entryn", name))
=> /guestbook/setname Set custom name

")
> %s

", name, txt))
")

=> /guestbook Back to guestbook")
> %s
", createdAt.Format("2006-01-02"), name, message))
")
This commit is contained in:
Travis Shears 2025-10-09 21:03:33 +02:00
parent ff32bb9c48
commit a5e480746e
3 changed files with 83 additions and 12 deletions

View file

@ -6,8 +6,12 @@ Hey gemspace! Thanks for visiting my capsule. Why not leave a message?
=> /guestbook/new Sign the guestbook
=> /guestbook/admin Admin
=> /codeview/raw/personal-gemini-capsule/src/branch/main/internal/guestbook/guestbook.go View code for this page
Messages like "xxxxx xxxx" mean they are awaiting my approval. Once approved, the actual text will be rendered.
== 2025.10.09 ==
Addressing the issue gdorn raised I've added the option to set a username.
------------------------