summaryrefslogtreecommitdiffstats
path: root/indieweb-micro
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-12-02 20:38:55 -0800
committerPinapelz <yukais@pinapelz.com>2025-12-02 20:38:55 -0800
commit98ddc6edd51bc961ef8dbeb9852fdbb3978f23ce (patch)
tree06fc2f63ef2e0a5913e5a3ccacac2bc2b0d312b3 /indieweb-micro
parent20d22355022cff53b096af7719ced5d74632019a (diff)
fix: micro posts imprecise dt-published values
Diffstat (limited to 'indieweb-micro')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/_default/list.html2
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/_default/single.html2
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html2
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html2
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/notes/notes.html2
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/notes/single.html2
6 files changed, 6 insertions, 6 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/list.html b/indieweb-micro/themes/MinIndie/layouts/_default/list.html
index f3639a1..7f8130e 100644
--- a/indieweb-micro/themes/MinIndie/layouts/_default/list.html
+++ b/indieweb-micro/themes/MinIndie/layouts/_default/list.html
@@ -37,7 +37,7 @@
{{ partial "bio-hcard.html" . }}
</div>
<div class="post-title">
- <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02" }}</time>:
+ <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "02" }}</time>:
{{ if eq $pageKind "term" }}[{{ .Type }}] {{ end }}
<a href="{{ .Permalink }}" class="u-url p-name title">
{{.Title }}
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/single.html b/indieweb-micro/themes/MinIndie/layouts/_default/single.html
index 2e45cf7..2ab1f0a 100644
--- a/indieweb-micro/themes/MinIndie/layouts/_default/single.html
+++ b/indieweb-micro/themes/MinIndie/layouts/_default/single.html
@@ -8,7 +8,7 @@
{{ if .Date }}
<div><b>
- <time class="dt-published" datetime="{{ .Date.Format "2006-01-02" }}">
+ <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}
</time>
- <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a>
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html b/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html
index 3e10031..e51e530 100644
--- a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html
+++ b/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html
@@ -32,7 +32,7 @@
<ul>
{{ end }}
<li>
- <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>
+ <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ $currentType = .Type }}
diff --git a/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html b/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html
index 8ee4bf1..3e50b62 100644
--- a/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html
+++ b/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html
@@ -9,7 +9,7 @@
</a>
</h1>
<div><b>
- <time class="dt-published" datetime="{{ .Date.Format "2006-01-02" }}">
+ <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}
</time>
- <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a>
diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html
index e0e0d17..23aa6d9 100644
--- a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html
+++ b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html
@@ -24,7 +24,7 @@
{{ .Content }}
</p>
- <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02 15:04" }}">
+ <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
<a href="{{ .RelPermalink }}">{{ .Date.Format "2006-01-02 15:04" }}</a>
</time>
diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/single.html b/indieweb-micro/themes/MinIndie/layouts/notes/single.html
index 32afcea..7b96f5c 100644
--- a/indieweb-micro/themes/MinIndie/layouts/notes/single.html
+++ b/indieweb-micro/themes/MinIndie/layouts/notes/single.html
@@ -4,7 +4,7 @@
<article class="h-entry">
<div hidden>{{ partial "bio-hcard.html" . }}</div>
<div><b>
- <time class="dt-published" datetime="{{ .Date.Format "2006-01-02" }}">
+ <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}
</time>
- <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage