Skip to content

Commit

Permalink
add the speakable spec
Browse files Browse the repository at this point in the history
  • Loading branch information
WaylonWalker committed Dec 19, 2023
1 parent f4ccaaa commit dbdd295
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pages/templates/post_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@
});

</script>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebPage",
"name": "{{title|e}}",
"speakable":
{
"@type": "SpeakableSpecification",
"cssSelector": [
"#title",
"#post-body"
]
},
"url": "{{canonical_url}}"
}
</script>
</head>

<body position="relative">
Expand Down

0 comments on commit dbdd295

Please sign in to comment.