add set current date button to blog editor

This commit is contained in:
ari melody 2025-11-08 14:00:29 +00:00
parent 0c2aaa0b38
commit 09c09b6310
Signed by: ari
GPG key ID: CF99829C92678188
3 changed files with 14 additions and 0 deletions

View file

@ -28,6 +28,7 @@
<label for="publish-date">Publish Date</label>
<input type="datetime-local" name="publish-date" id="publish-date" value="{{.Post.TextPublishDate}}">
<button type="button" id="set-current-date">Current date</button>
<label for="description">Description</label>
<textarea