fix: copy-paste mistake and more idiomatic structured data format
This commit is contained in:
@@ -63,7 +63,8 @@
|
|||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
{%- if postView.Author.DisplayName %}
|
{%- if postView.Author.DisplayName %}
|
||||||
"name": "{{ postView.Author.DisplayName }} (@{{ postView.Author.Handle }})",
|
"name": "{{ postView.Author.DisplayName }}",
|
||||||
|
"alternateName": "@{{ postView.Author.Handle }}",
|
||||||
{% else %}
|
{% else %}
|
||||||
"name": "@{{ postView.Author.Handle }}",
|
"name": "@{{ postView.Author.Handle }}",
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|||||||
@@ -59,12 +59,12 @@
|
|||||||
"dateCreated": "{{ profileView.CreatedAt }}",
|
"dateCreated": "{{ profileView.CreatedAt }}",
|
||||||
"mainEntity": {
|
"mainEntity": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
{%- if postView.Author.DisplayName %}
|
{%- if profileView.DisplayName %}
|
||||||
"name": "{{ postView.Author.DisplayName }} (@{{ postView.Author.Handle }})",
|
"name": "{{ profileView.DisplayName }}",
|
||||||
{% else %}
|
|
||||||
"name": "@{{ postView.Author.Handle }}",
|
|
||||||
{% endif -%}
|
|
||||||
"alternateName": "@{{ profileView.Handle }}",
|
"alternateName": "@{{ profileView.Handle }}",
|
||||||
|
{% else %}
|
||||||
|
"name": "@{{ profileView.Handle }}",
|
||||||
|
{% endif -%}
|
||||||
"identifier": "{{ profileView.Did }}",
|
"identifier": "{{ profileView.Did }}",
|
||||||
"description": "{{ profileView.Description }}",
|
"description": "{{ profileView.Description }}",
|
||||||
"image": "{{ profileView.Avatar }}",
|
"image": "{{ profileView.Avatar }}",
|
||||||
|
|||||||
Reference in New Issue
Block a user