aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web/templates/dashboard/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates/dashboard/post_form.html')
-rw-r--r--internal/web/templates/dashboard/post_form.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/web/templates/dashboard/post_form.html b/internal/web/templates/dashboard/post_form.html
index 9bd7624..e64a331 100644
--- a/internal/web/templates/dashboard/post_form.html
+++ b/internal/web/templates/dashboard/post_form.html
@@ -41,6 +41,7 @@
{{template "editor" (dict "name" "body" "value" .Data.post.BodyMD "format" .Data.post.Format "rows" 24 "tall" true "upload" (print "/b/" .Blog.Subdomain "/files/upload") "preview" (print "/b/" .Blog.Subdomain "/preview") "csrf" .CSRF)}}
{{template "imagepick" (dict "name" "image" "current" .Data.post.Image "sub" .Blog.Subdomain "images" .Data.images "names" .Data.imageNames "label" (t "Featured image") "hint" (t "Optional. A thumbnail on listings, and on the post page where the Design tab puts it."))}}
<label class="check"><input type="checkbox" name="published"{{if .Data.post.Published}} checked{{end}}> {{t "Visible on the blog"}}</label>
+ <label class="check"><input type="checkbox" name="hide_date"{{if .Data.post.HideDate}} checked{{end}}> {{t "Hide the date on this post"}}</label>
<p class="actionrow">
<button type="submit">{{t "Save"}}</button>
{{if .Data.post.ID}}<a class="btn secondary" href="{{.BlogURL}}/{{.Data.post.PageSlug}}/{{.Data.post.Slug}}" target="_blank">{{t "View post"}} &#8599;</a>{{end}}