Only add OpenGraph tags if content is provided

Until now you always got all OpenGraph tags you provided which led to empty tags if there was no content. This commit fixes this.