Class: Middleman::OGP::OGPExtension

Inherits:
Extension
  • Object
show all
Defined in:
lib/middleman-ogp/extension.rb

Overview

Middleman::OGP::OGPExtension

Instance Method Summary collapse

Instance Method Details

#after_configurationObject



17
18
19
20
21
22
23
# File 'lib/middleman-ogp/extension.rb', line 17

def after_configuration
  Middleman::OGP::Helper.namespaces = options[:namespaces] || {}
  Middleman::OGP::Helper.blog = options[:blog]
  Middleman::OGP::Helper.auto = options[:auto]
  Middleman::OGP::Helper.base_url = options[:base_url]
  Middleman::OGP::Helper.image_base_url = options[:image_base_url]
end