1010
1111 {% assign random = site.time | date: "%s%N" | modulo: site.posts.size %}
1212
13- < p > I have written < b > {{ site.posts | size }}</ b > post on this site, mostly
13+ < p > I have written < b > {{ site.posts | size }}</ b > posts on this site, mostly
1414 covering web performance and CSS architecture. Find a reverse-chronological list
1515 of them below, or, at random, why not read
1616 < a href ="{{ site.posts[random].url }} "> < cite > {{ site.posts[random].title }}</ cite > </ a >
@@ -33,6 +33,56 @@ <h2 id=year-{{ currentDate }}>{{ currentDate }}</h2>
3333 {% if forloop.last %}</ ol > {% endif %}
3434 {% endfor %}
3535
36+ < script type ="application/ld+json ">
37+ {
38+ "@context" : "https://schema.org" ,
39+ "@graph" : [ {
40+ "@type" : "CollectionPage" ,
41+ "@id" : "https://csswizardry.com/blog/#webpage" ,
42+ "url" : "https://csswizardry.com/blog/" ,
43+ "name" : "CSS Wizardry Blog Archives" ,
44+ "description" : "Archive of CSS Wizardry articles covering web performance and CSS architecture." ,
45+ "isPartOf" : {
46+ "@type" : "WebSite" ,
47+ "@id" : "https://csswizardry.com/#website" ,
48+ "url" : "https://csswizardry.com/" ,
49+ "name" : "CSS Wizardry"
50+ } ,
51+ "about" : [
52+ {
53+ "@type" : "Organization" ,
54+ "@id" : "https://csswizardry.com/#org" ,
55+ "name" : "CSS Wizardry Ltd" ,
56+ "url" : "https://csswizardry.com/"
57+ } ,
58+ {
59+ "@type" : "Person" ,
60+ "@id" : "https://csswizardry.com/#person" ,
61+ "name" : "Harry Roberts" ,
62+ "url" : "https://csswizardry.com/about/"
63+ }
64+ ] ,
65+ "mainEntity" : {
66+ "@type" : "ItemList" ,
67+ "@id" : "https://csswizardry.com/blog/#posts" ,
68+ "name" : "Archived articles" ,
69+ "numberOfItems" : { { site . posts | size } } ,
70+ "itemListOrder" : "https://schema.org/ItemListOrderDescending" ,
71+ "itemListElement" : [
72+ { % for post in site . posts % }
73+ {
74+ "@type" : "ListItem" ,
75+ "position" : { { forloop. index } } ,
76+ "url" : "https://csswizardry.com{{ post.url }}" ,
77+ "name" : { { post . title | jsonify } }
78+ } { % unless forloop . last % } , { % endunless % }
79+ { % endfor % }
80+ ]
81+ }
82+ } ]
83+ }
84+ </ script >
85+
3686 < script type ="application/ld+json ">
3787 {
3888 "@context" : "https://schema.org" ,
0 commit comments