diff --git a/layouts/partials/reply-context.html b/layouts/partials/reply-context.html index 58c8e53..25ff180 100644 --- a/layouts/partials/reply-context.html +++ b/layouts/partials/reply-context.html @@ -11,6 +11,7 @@ {{- $replyAuthorRel = "publisher" -}} {{- end -}} diff --git a/layouts/shortcodes/mention-work.html b/layouts/shortcodes/mention-work.html index e8a20ee..fe57c88 100644 --- a/layouts/shortcodes/mention-work.html +++ b/layouts/shortcodes/mention-work.html @@ -4,12 +4,12 @@ {{- end -}} {{- if .Get "p" -}}

+ class="h-cite{{ with .Get "reply" }} in-reply-to{{ end }}"{{ with .Get "itemid" }} itemid="{{ . }}"{{ end }} itemprop="{{ $itemprop }}"{{ with .Get "role" }} role="{{ . }}"{{ end }} itemscope="" itemtype="https://schema.org/{{ .Get "itemtype" }}"> {{- .Inner | markdownify | safeHTML -}}

{{- else -}} + class="h-cite{{ with .Get "reply" }} in-reply-to{{ end }}"{{ with .Get "itemid" }} itemid="{{ . }}"{{ end }} itemprop="{{ $itemprop }}"{{ with .Get "role" }} role="{{ . }}"{{ end }} itemscope="" itemtype="https://schema.org/{{ .Get "itemtype" }}"> {{- .Inner | markdownify | safeHTML -}} {{- end -}}