Skip to content

Commit

Permalink
Add structured data (#43)
Browse files Browse the repository at this point in the history
* Add structured data

* Update logo

* Remove logo not recognized

* Add an additional meta tag for og:site_name

* Updated site_name to recommendation
  • Loading branch information
paul-sachs authored Sep 15, 2023
1 parent c1b3f6b commit 241647c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,28 @@ const config = {
defer: true,
},
],
headTags: [
// Declare some json-ld structured data
{
tagName: "script",
attributes: {
type: "application/ld+json",
},
innerHTML: JSON.stringify({
"@context": "https://schema.org/",
"@type": "WebSite",
name: "Protobuf RPC that works",
url: "https://connectrpc.com/",
}),
},
{
tagName: "meta",
attributes: {
property: "og:site_name",
content: "Protobuf RPC that works",
},
},
],
presets: [
[
"classic",
Expand Down

0 comments on commit 241647c

Please sign in to comment.