mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +00:00
Fix list semantics
This commit is contained in:
parent
7b236f003c
commit
a42a0f95d3
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@
|
|||
{{ if (eq $webmention.type "like") -}}
|
||||
<li itemprop="potentialAction" itemscope itemtype="https://schema.org/LikeAction" class="u-like h-cite">
|
||||
{{- else -}}
|
||||
<li itemprop="comment" role="comment" itemscope itemtype="https://schema.org/Comment" class="u-comment h-cite">
|
||||
<li itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
||||
{{- end }}
|
||||
<p>
|
||||
<p role="comment" class="u-comment h-cite">
|
||||
<time class="dt-published" itemprop="{{ if (eq $webmention.type "like") -}}startTime{{ else }}datePublished{{ end }}" datetime="{{ dateFormat "2006-01-02 15:04:05Z07:00" $webmention.created_at }}" title="{{ dateFormat "2006-01-02 15:04:05Z07:00" $webmention.created_at }}">{{ dateFormat "2006-01-02" $webmention.created_at }}</time>
|
||||
<br>
|
||||
{{ if (eq $webmention.type "like") -}}
|
||||
|
|
Loading…
Reference in a new issue