1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Support NewsMediaOrganization publishers

This commit is contained in:
Rohan Kumar 2023-08-15 09:14:07 -07:00
parent 18d4f7cbb9
commit d88711d62c
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -7,7 +7,7 @@
{{- $replyAuthorType = . -}} {{- $replyAuthorType = . -}}
{{- end -}} {{- end -}}
{{- $replyAuthorRel := "author" -}} {{- $replyAuthorRel := "author" -}}
{{- if eq $replyAuthorType "Organization" -}} {{- if in $replyAuthorType (slice "Organization" "NewsMediaOrganization") -}}
{{- $replyAuthorRel = "publisher" -}} {{- $replyAuthorRel = "publisher" -}}
{{- end -}} {{- end -}}
<aside role="note"> <aside role="note">