Added "og:" meta tags.
This should allow for additional card support, e.g. in Discord.
This commit is contained in:
parent
cb4853c09f
commit
882e6f5a92
3 changed files with 12 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ const meta = `{
|
|||
|
||||
---
|
||||
|
||||
<Layout title=`${note.data.title} - ${note.data.sub_heading}`>
|
||||
<Layout title=`${note.data.title} - ${note.data.sub_heading}` image=`${urlfrag(base, note.data.post_image)}`>
|
||||
{meta && <script type="application/ld+json" is:inline set:html={meta} />}
|
||||
<script>
|
||||
import { bindModals } from '../../utils/modal.js';
|
||||
|
|
|
|||
Loading…
Reference in a new issue