middleman-ogp
·1 min read
I released an OpenGraph Protocol helper extension for Middleman.
In your Gemfile
gem 'middleman-ogp'Activate the extension with adding this snippet in config.rb.
Add ogp_tags method and write <meta> tag in the block.
Page data (root key is ogp) will be merged to the default properties.
Outputs <meta> tags like this.
Related Posts
Open Graph protocol tag helper for nanoc
2012-11-03