Entries tagged with nanoc

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:

  1. Download Ruby code
  2. Place it to lib/nanoc/helpers/ on your nanoc project.
  3. Add require 'nanoc/helpers/og_tags' to lib/default.rb.
  4. Now you can use og_tag helper in your templates. For more details see the spec or trace my haml template.