Fixed schemma but previews still don't work.
This commit is contained in:
parent
224453c2f0
commit
979f4baf40
1 changed files with 4 additions and 5 deletions
|
|
@ -25,13 +25,12 @@ const { Content } = await render(note);
|
|||
const meta = `{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"headline": ${note.data.title},
|
||||
"image": ${urlfrag(base, note.data.post_image)},
|
||||
"headline": "${note.data.title}",
|
||||
"image": "${urlfrag(base, note.data.post_image)}",
|
||||
"author": {"@type": "Person", "name": "Benjamin A. Shelton"},
|
||||
"publisher": {"@type": "Organization", "name": "Just Us"},
|
||||
"logo": {"@type": "ImageObject", "url": ${urlfrag(base, "favicon.png")}},
|
||||
"datePublished": ${note.data.date},
|
||||
"dateModified": ${note.data.date}
|
||||
"datePublished": "${note.data.date.toISOString()}",
|
||||
"dateModified": "${note.data.date.toISOString()}"
|
||||
}`;
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue