Embeds
When using oEmbed on Discord, make sure you include your website domain in the discovery URL. In my <head>
element, I specified my oEmbed support like:
<link type="application/json+oembed" href="/path/to/oembed.json">
But Discord (truth be told, they're all I checked) wasn't including it in their embeds until I changed it to:
<link type="application/json+oembed" href="https://www.example.com/path/to/oembed.json">
So maybe it's not a bad practice to include the site domain in all href
attributes.
How To Automate Open Graph Images With Eleventy
I recently set up automatic Open Graph images on this site. Now, instead of making a custom OG image for every page on this site, I automatically generate them at build time.
Author
Date
Dec 5, 2024
Previous
Next