Open nickfrosty opened 2 years ago
When linking to social images, (like in the og.image or twitter.image), their should be a way to easily add the website's domain into the url.
og.image
twitter.image
If the image item begins with a /, then auto link append the seo.baseUrl value to it?
image
/
seo.baseUrl
Going from commonly hard coded website address:
twitter: { card: 'summary_large_image', // url: '/', // title: '', image: 'https://frostbutter.com/media/domains.jpg', },
To no hard coded address:
twitter: { card: 'summary_large_image', // url: '/', // title: '', image: '/media/domains.jpg', },
All giving the same result: an absolute url to the desired image
When linking to social images, (like in the
og.image
ortwitter.image
), their should be a way to easily add the website's domain into the url.If the
image
item begins with a/
, then auto link append theseo.baseUrl
value to it?Going from commonly hard coded website address:
To no hard coded address:
All giving the same result: an absolute url to the desired image