Skip to content

Commit

Permalink
Main page title: Show breaking change in VU 2024 iteration
Browse files Browse the repository at this point in the history
The visual update 2024 iteration's breaking change previously wasn't appearing.

It seems to have been related to structure issues in the JSON-LD file's "breaking" object:
* Array using curly brackets ( {...} )
* Key/value pair placed in the array (key was named "style")

This fixes it by:
* Using square brackets ( [...] ) for the array
* Replacing the "style" key with a "Style: " prefix in the value
  • Loading branch information
EricDunsworth committed Aug 16, 2024
1 parent bdf0fe3 commit 89752df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions _data/sites.json
Original file line number Diff line number Diff line change
Expand Up @@ -2325,9 +2325,9 @@
"name": "Visual update 2024",
"date": "2024-01",
"detectableBy": "Visual inspection can be used to detect the size of the line. The width of the line should be 71px (3.55em) long and the thickness should be 3.6px (0.18em), with the color #af3c43.",
"breaking": {
"style": "Width of the line should 70px and the thickness .18em #af3c43. Followed by optional byline, tagline or subtitle"
},
"breaking": [
"Style: Width of the line should 70px and the thickness .18em #af3c43. Followed by optional byline, tagline or subtitle"
],
"predecessor": "_:iteration_mpt_1"
}
]
Expand Down
6 changes: 3 additions & 3 deletions sites/main-page-title/index.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@
"name": "Visual update 2024",
"date": "2024-01",
"detectableBy": "Visual inspection can be used to detect the size of the line. The width of the line should be 71px (3.55em) long and the thickness should be 3.6px (0.18em), with the color #af3c43.",
"breaking": {
"style": "Width of the line should 70px and the thickness .18em #af3c43. Followed by optional byline, tagline or subtitle"
},
"breaking": [
"Style: Width of the line should 70px and the thickness .18em #af3c43. Followed by optional byline, tagline or subtitle"
],
"predecessor": "_:iteration_mpt_1"
}
]
Expand Down

0 comments on commit 89752df

Please sign in to comment.