You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metatags in svelte pages aren't considered by Discord, but it works when I put it in app.html, but I can't make website embed on discord dynamic anymore
#10681
Open
nekoniyah opened this issue
Mar 2, 2024
· 3 comments
Metatags in svelte pages aren't considered by Discord, but it works when I put it in app.html, but I can't make website embed on discord dynamic anymore.
<svelte:head>
<title>Persona - My Profile</title>
<metaname="author"content="Persona DB - My Profile" />
<metaname="description"content="Find and host any original characters" />
<metaproperty="og:title"content="Persona DB" />
<metaproperty="og:description"content="Find and host any original characters" />
<metaproperty="og:image"content="https://persona-db.xyz/favicon.png" />
</svelte:head>
Only when I put the metatags in the app.html it works, but otherwise it doesn't show the embed when I put them in the svelte pages, while metatags are shown in the devtools of my browser.
Describe the bug
Metatags in svelte pages aren't considered by Discord, but it works when I put it in app.html, but I can't make website embed on discord dynamic anymore.
+layout.svelte // Don't work
profile/+page.svelte // Don't work
Only when I put the metatags in the app.html it works, but otherwise it doesn't show the embed when I put them in the svelte pages, while metatags are shown in the devtools of my browser.
Reproduction
https://github.com/nekomancer0/Persona-db
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: