+5
-5
bskyweb/templates/post.html
+5
-5
bskyweb/templates/post.html
···
62
62
"@type": "DiscussionForumPosting",
63
63
"author": {
64
64
"@type": "Person",
65
-
"name": "{{ postView.Author.DisplayName|escapejs }}",
66
-
"url": "https://bsky.app/@{{ postView.Author.Handle|escapejs }}"
65
+
"name": "{{ postView.Author.DisplayName }}",
66
+
"url": "https://bsky.app/profile/{{ postView.Author.Handle }}"
67
67
},
68
68
{%- if postText %}
69
-
"text": "{{ postText|escapejs }}",
69
+
"text": "{{ postText }}",
70
70
{% endif %}
71
71
{%- if imageThumbUrls %}
72
-
"image": "{{ imageThumbUrls[0]|escapejs }}",
72
+
"image": "{{ imageThumbUrls[0] }}",
73
73
{% endif %}
74
-
"datePublished": "{{ postView.IndexedAt|escapejs }}",
74
+
"datePublished": "{{ postView.IndexedAt }}",
75
75
"interactionStatistic": [
76
76
{
77
77
"@type": "InteractionCounter",
+8
-8
bskyweb/templates/profile.html
+8
-8
bskyweb/templates/profile.html
···
56
56
{
57
57
"@context": "https://schema.org",
58
58
"@type": "ProfilePage",
59
-
"dateCreated": "{{ profileView.CreatedAt|escapejs }}",
59
+
"dateCreated": "{{ profileView.CreatedAt }}",
60
60
"mainEntity": {
61
61
"@type": "Person",
62
-
"name": "{{ profileView.DisplayName|escapejs }}",
63
-
"alternateName": "@{{ profileView.Handle|escapejs }}",
64
-
"identifier": "{{ profileView.Did|escapejs }}",
65
-
"description": "{{ profileView.Description|escapejs }}",
66
-
"image": "{{ profileView.Avatar|escapejs }}",
62
+
"name": "{{ profileView.DisplayName }}",
63
+
"alternateName": "@{{ profileView.Handle }}",
64
+
"identifier": "{{ profileView.Did }}",
65
+
"description": "{{ profileView.Description }}",
66
+
"image": "{{ profileView.Avatar }}",
67
67
"interactionStatistic": [
68
68
{
69
69
"@type": "InteractionCounter",
70
70
"interactionType": "https://schema.org/FollowAction",
71
71
"userInteractionCount": {{ profileView.FollowersCount }}
72
-
},
72
+
}
73
73
],
74
74
"agentInteractionStatistic": [
75
75
{
···
81
81
"@type": "InteractionCounter",
82
82
"interactionType": "https://schema.org/WriteAction",
83
83
"userInteractionCount": {{ profileView.PostsCount }}
84
-
},
84
+
}
85
85
]
86
86
}
87
87
}