- commit
- 588d72e
- parent
- 3d4c1d9
- author
- Eric Bower
- date
- 2025-08-21 09:26:05 -0400 EDT
chore(prose): add some tagging to post page elements This should make it easier to manipulate our date elements in case someone wants to remove them with css
1 files changed,
+5,
-3
+5,
-3
1@@ -48,14 +48,16 @@
2 {{if .HasCSS}}<link rel="stylesheet" href="{{.CssURL}}" />{{end}}
3 {{end}}
4
5-{{define "attrs"}}id="post" class="{{.Slug}}"{{end}}
6+{{define "attrs"}}id="post" class="{{.Slug}}{{if .Unlisted}} post-draft{{end}}"{{end}}
7
8 {{define "body"}}
9 <header>
10 <h1 class="text-2xl font-bold">{{.Title}}</h1>
11 <p class="font-bold m-0">
12- <time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
13- <span>·<span>
14+ <span id="publish-at">
15+ <time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
16+ <span>·</span>
17+ </span>
18 <a href="{{.BlogURL}}">{{.BlogName}}</a>
19 </p>
20 {{if .Description}}<blockquote>{{.Description}}</blockquote>{{end}}