+5
-1
bskyweb/templates/post.html
+5
-1
bskyweb/templates/post.html
···
62
62
"@type": "DiscussionForumPosting",
63
63
"author": {
64
64
"@type": "Person",
65
-
"name": "{{ postView.Author.DisplayName }}",
65
+
{%- if postView.Author.DisplayName %}
66
+
"name": "{{ postView.Author.DisplayName }} (@{{ postView.Author.Handle }})",
67
+
{% else %}
68
+
"name": "@{{ postView.Author.Handle }}",
69
+
{% endif -%}
66
70
"url": "https://bsky.app/profile/{{ postView.Author.Handle }}"
67
71
},
68
72
{%- if postText %}
+5
-1
bskyweb/templates/profile.html
+5
-1
bskyweb/templates/profile.html
···
59
59
"dateCreated": "{{ profileView.CreatedAt }}",
60
60
"mainEntity": {
61
61
"@type": "Person",
62
-
"name": "{{ profileView.DisplayName }}",
62
+
{%- if postView.Author.DisplayName %}
63
+
"name": "{{ postView.Author.DisplayName }} (@{{ postView.Author.Handle }})",
64
+
{% else %}
65
+
"name": "@{{ postView.Author.Handle }}",
66
+
{% endif -%}
63
67
"alternateName": "@{{ profileView.Handle }}",
64
68
"identifier": "{{ profileView.Did }}",
65
69
"description": "{{ profileView.Description }}",