Join GitHub today
Add Open Graph meta tags #438
The Open Graph protocol and Twitter Card properties provide standards for website/page metadata. One important application of them is in providing previews when sharing links, whether on social media or on services like Slack.
This PR implements some of these meta tags, enough to give a preview of a pkgdown site link like this (on Slack):
It's getting the job done for me on sites I've built with it, but it is not what I would consider a complete implementation. It needs documentation, more tests, and it's worth considering what an appropriate "description" should be for some of the other pages (reference index, news, etc.). But before I proceeded with that, I wanted to put this out there, gauge interest, and get design feedback.