1
0
Fork 0
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:
Rohan Kumar 2022-05-12 18:41:32 -07:00
parent 7b236f003c
commit a42a0f95d3
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -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") -}}