[feature] add microformat support (#3848)

Related: #2959

Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
This commit is contained in:
Luca Matei Pintilie 2025-03-01 13:06:08 +01:00 committed by GitHub
commit e78e817057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 25 additions and 20 deletions

View file

@ -23,14 +23,14 @@
<div class="stats-item published-at text-cutoff">
<dt class="sr-only">Published</dt>
<dd>
<time datetime="{{- .CreatedAt -}}">{{- .CreatedAt -}}</time>
<time class="dt-published" datetime="{{- .CreatedAt -}}">{{- .CreatedAt -}}</time>
</dd>
</div>
{{- if .EditedAt -}}
<div class="stats-item edited-at text-cutoff">
<dt class="sr-only">Edited</dt>
<dd>
(edited <time datetime="{{- .EditedAt -}}">{{- .EditedAt -}}</time>)
(edited <time class="dt-updated" datetime="{{- .EditedAt -}}">{{- .EditedAt -}}</time>)
</dd>
</div>
{{ end }}