mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Allow reply-context without author
This commit is contained in:
parent
262eee804e
commit
dcb08d9fd4
1 changed files with 2 additions and 2 deletions
|
@ -15,11 +15,11 @@
|
||||||
Reply to <span class="h-cite in-reply-to" itemprop="about" itemscope="" itemtype="https://schema.org/{{ $schemaType }}">
|
Reply to <span class="h-cite in-reply-to" itemprop="about" itemscope="" itemtype="https://schema.org/{{ $schemaType }}">
|
||||||
<cite itemprop="name" class="p-name">
|
<cite itemprop="name" class="p-name">
|
||||||
<a class="u-url" itemprop="url" href="{{ .replyURI }}">{{ .replyTitle | safeHTML}}</a>
|
<a class="u-url" itemprop="url" href="{{ .replyURI }}">{{ .replyTitle | safeHTML}}</a>
|
||||||
</cite> by
|
</cite>{{ if .replyAuthor }} by
|
||||||
<span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author">
|
<span itemprop="{{ $replyAuthorRel }}" itemscope="" itemtype="https://schema.org/{{ $replyAuthorType }}" class="h-card vcard p-author">
|
||||||
<a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url">
|
<a itemprop="url" href="{{ .replyAuthorURI }}" class="u-url url">
|
||||||
<span itemprop="name" class="p-name fn n">{{ .replyAuthor }}</span></a>
|
<span itemprop="name" class="p-name fn n">{{ .replyAuthor }}</span></a>
|
||||||
</span>
|
</span>{{ end }}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
Loading…
Reference in a new issue