tangled
alpha
login
or
join now
quilling.dev
/
social-app
7
fork
atom
An ATproto social media client -- with an independent Appview.
7
fork
atom
overview
issues
pulls
pipelines
feat: profile.html structured content
Elijah Seed-Arita
5 months ago
655964ec
66526a8e
+35
1 changed file
expand all
collapse all
unified
split
bskyweb
templates
profile.html
+35
bskyweb/templates/profile.html
···
51
51
<meta property="og:description" content="This profile requires authentication to view.">
52
52
<meta property="twitter:description" content="This profile requires authentication to view.">
53
53
{% endif %}
54
54
+
55
55
+
<script type="application/ld+json">
56
56
+
{
57
57
+
"@context": "https://schema.org",
58
58
+
"@type": "ProfilePage",
59
59
+
"dateCreated": "{{ profileView.CreatedAt }}",
60
60
+
"mainEntity": {
61
61
+
"@type": "Person",
62
62
+
"name": "{{ profileView.DisplayName }}",
63
63
+
"alternateName": "@{{ profileView.Handle }}",
64
64
+
"identifier": "{{ profileView.Did }}",
65
65
+
"description": "{{ profileView.Description }}",
66
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
+
{
76
76
+
"@type": "InteractionCounter",
77
77
+
"interactionType": "https://schema.org/FollowAction",
78
78
+
"userInteractionCount": {{ profileView.FollowsCount }}
79
79
+
},
80
80
+
{
81
81
+
"@type": "InteractionCounter",
82
82
+
"interactionType": "https://schema.org/WriteAction",
83
83
+
"userInteractionCount": {{ profileView.PostsCount }}
84
84
+
},
85
85
+
]
86
86
+
}
87
87
+
}
88
88
+
</script>
54
89
{% endif -%}
55
90
{%- endblock %}
56
91