File tree Expand file tree Collapse file tree 2 files changed +47
-8
lines changed Expand file tree Collapse file tree 2 files changed +47
-8
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,36 @@ import React from "react";
2
2
import PropTypes from "prop-types" ;
3
3
4
4
const ChangelogItem = ( { title, date, version, html } ) => (
5
- < div className = "flex flex-wrap" >
5
+ < div
6
+ className = "flex flex-wrap"
7
+ itemscope = ""
8
+ itemtype = "http://schema.org/CreativeWork"
9
+ >
10
+ < meta itemprop = "author" content = "Linode" />
6
11
< div className = "w-full md:w-1/4 py-2 md:p-6 md:text-right mt-1 flex items-center md:block" >
7
- < div className = "timeago mr-4 md:mr-0" dateTime = "" >
12
+ < div
13
+ className = "timeago mr-4 md:mr-0"
14
+ dateTime = ""
15
+ itemprop = "datePublished"
16
+ >
8
17
{ date }
9
18
</ div >
10
19
< div className = "text-BaseBlue md:mt-3 flex md:block " >
11
- < span className = "changelog-product" />
12
- { version && < div className = "text-BaseBlue ml-4 md:ml-0" > { version } </ div > }
20
+ < span className = "changelog-product" itemprop = "name" />
21
+ { version && (
22
+ < div className = "text-BaseBlue ml-4 md:ml-0" itemprop = "version" >
23
+ { version }
24
+ </ div >
25
+ ) }
13
26
</ div >
14
27
</ div >
15
28
< div className = "w-full md:w-3/4 py-2 md:p-6" >
16
- < h2 className = "mt-0 text-2xl font-normal" > { title } </ h2 >
29
+ < h2 className = "mt-0 text-2xl font-normal" itemprop = "alternativeHeadline" >
30
+ { title }
31
+ </ h2 >
17
32
< div
18
33
className = "changelog-entry"
34
+ itemprop = "disambiguatingDescription"
19
35
dangerouslySetInnerHTML = { { __html : html } }
20
36
/>
21
37
</ div >
Original file line number Diff line number Diff line change @@ -117,7 +117,15 @@ const IndexPage = ({ data }) => {
117
117
< article
118
118
className = "w-full md:w-1/3 px-4 mb-4 md:mb-8"
119
119
key = { edge . node . id }
120
+ itemscope = ""
121
+ itemtype = "http://schema.org/ExhibitionEvent"
120
122
>
123
+ < meta
124
+ itemprop = "attendee"
125
+ itemscope
126
+ itemtype = "http://schema.org/Organization"
127
+ content = "Linode"
128
+ />
121
129
< div className = "p-8 h-full bg-ThemeCell tile" >
122
130
< header >
123
131
< h3 className = "mt-0 mb-4 font-normal" >
@@ -126,16 +134,31 @@ const IndexPage = ({ data }) => {
126
134
className = "text-black tile-link"
127
135
target = "_blank"
128
136
rel = "noopener noreferrer"
137
+ itemprop = "url"
129
138
>
130
- { frontmatter . title }
139
+ < span itemprop = "name" > { frontmatter . title } </ span >
131
140
</ a >
132
141
</ h3 >
133
142
</ header >
134
143
< section >
135
- < div > { frontmatter . location } </ div >
136
- < div > { frontmatter . start_date } </ div >
144
+ < div
145
+ itemprop = "location"
146
+ itemscope
147
+ itemtype = "http://schema.org/Place"
148
+ >
149
+ < span itemprop = "address" > { frontmatter . location } </ span >
150
+ </ div >
151
+ < div >
152
+ < time
153
+ itemprop = "startDate"
154
+ datetime = { frontmatter . start_date }
155
+ >
156
+ { frontmatter . start_date }
157
+ </ time >
158
+ </ div >
137
159
{ edge . node . html && (
138
160
< p
161
+ itemprop = "description"
139
162
dangerouslySetInnerHTML = { { __html : edge . node . html } }
140
163
/>
141
164
) }
You can’t perform that action at this time.
0 commit comments