Open Graph protocol tag helper for nanoc
I’ve created Open Graph protocol tag helper for nanoc to build my corporate site.
To use this helper:
- Download Ruby code
- Place it to
lib/nanoc/helpers/
on your nanoc project. - Add
require 'nanoc/helpers/og_tags'
tolib/default.rb
. - Now you can use
og_tag
helper in your templates. For more details see the spec or trace my haml template.