In the docs (https://learn.getgrav.org/content/headers#meta-page-headers), I see that we need to hard-code the URL of the page and the URL of the image for Facebook and Twitter metatags.
Is there any way we can do this automatically? For image, maybe we get the first image, similar to what we do in Twig {{ page.media.images|first.url }} as use it as og:image and twitter:image.