Fixes #37716 (closed)
TODO for later: see if we can just do what we do in blog https://github.com/twbs/blog/blob/main/src/layouts/partials/social.html. Note that the twitter:creator
tag is currently broken in blog for pages.
Also, we should switch to params.images
and do it like we do it in blog.