mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 09:38:06 -06:00
[feature] add microformat support (#3848)
Related: #2959 Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
This commit is contained in:
parent
a7485ae251
commit
e78e817057
5 changed files with 25 additions and 20 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue