To continue on the topic from the last post, here is how I added Twitter-cards and open graph metadata to this blog.
It runs on Octopress so to add the new html-tags I edited source/_includes/head.html like this:
If you are using a theme you will probably have to edit the file .themes/theme_name/_includes/head.html.