Skip to content

Commit 5914e6a

Browse files
committed
Improve Rich Data
1 parent 0129b9d commit 5914e6a

File tree

1 file changed

+56
-4
lines changed

1 file changed

+56
-4
lines changed

index.html

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
{
1616
"@id": "https://csswizardry.com/#org",
1717
"@type": "Organization",
18-
"name": "CSS Wizardry Ltd.",
18+
"name": "CSS Wizardry Ltd",
1919
"url": "https://csswizardry.com/",
2020
"logo": {
2121
"@type": "ImageObject",
2222
"@id": "https://csswizardry.com/#logo",
2323
"url": "https://csswizardry.com/icon.png",
24-
"contentUrl": "https://csswizardry.com/icon.png"
24+
"contentUrl": "https://csswizardry.com/icon.png",
25+
"width": 128,
26+
"height": 128
2527
},
2628
"founder": { "@id": "https://csswizardry.com/#person" },
2729
"sameAs": [
@@ -33,7 +35,7 @@
3335
"contactPoint": [{
3436
"@type": "ContactPoint",
3537
"contactType": "Sales",
36-
"email": "mailto:csswizardry@gmail.com"
38+
"email": "csswizardry@gmail.com"
3739
}]
3840
},
3941

@@ -43,9 +45,39 @@
4345
"name": "Harry Roberts",
4446
"jobTitle": "Consultant Web-Performance Engineer",
4547
"url": "https://csswizardry.com/about/",
48+
"image": "https://csswizardry.com/img/avatars/me.jpg",
49+
"sameAs": [
50+
"https://twitter.com/csswizardry",
51+
"https://github.com/csswizardry",
52+
"https://www.linkedin.com/in/csswizardry/",
53+
"https://developers.google.com/profile/u/csswizardry"
54+
],
4655
"worksFor": { "@id": "https://csswizardry.com/#org" }
47-
}
56+
},
4857

58+
{
59+
"@id": "https://csswizardry.com/#website",
60+
"@type": "WebSite",
61+
"name": "CSS Wizardry",
62+
"url": "https://csswizardry.com/",
63+
"publisher": { "@id": "https://csswizardry.com/#org" },
64+
"inLanguage": "en-GB"
65+
},
66+
67+
{
68+
"@id": "https://csswizardry.com/#webpage",
69+
"@type": "WebPage",
70+
"url": "https://csswizardry.com/",
71+
"name": "Site-Speed Optimisation",
72+
"description": "Award-winning web performance consultant Harry Roberts helps global brands optimise site speed through audits, consultancy, and training.",
73+
"isPartOf": { "@id": "https://csswizardry.com/#website" },
74+
"about": [
75+
{ "@id": "https://csswizardry.com/#org" },
76+
{ "@id": "https://csswizardry.com/#person" }
77+
],
78+
"primaryImageOfPage": { "@id": "https://csswizardry.com/#logo" },
79+
"inLanguage": "en-GB"
80+
}
4981
]
5082
}
5183
</script>
@@ -105,6 +137,26 @@ <h3 class="post__title" style="view-transition-name: x-{{ post.date | date: '%Y-
105137
{% endfor %}
106138
</ul>
107139

140+
<script type="application/ld+json">
141+
{
142+
"@context": "https://schema.org",
143+
"@type": "ItemList",
144+
"name": "Recent articles",
145+
"itemListOrder": "https://schema.org/ItemListOrderDescending",
146+
"numberOfItems": {{ paginator.posts | size }},
147+
"itemListElement": [
148+
{% for post in paginator.posts %}
149+
{
150+
"@type": "ListItem",
151+
"position": {{ forloop.index }},
152+
"url": "https://csswizardry.com{{ post.url }}",
153+
"name": {{ post.title | jsonify }}
154+
}{% unless forloop.last %},{% endunless %}
155+
{% endfor %}
156+
]
157+
}
158+
</script>
159+
108160
{% include pagination.html %}
109161

110162
</section>

0 commit comments

Comments
 (0)