Method: Jekyll::SeoTag::ImageDrop#initialize
- Defined in:
- lib/starter_web/_plugins/seo/j1-seo-tags.rb
#initialize(page: nil, context: nil) ⇒ ImageDrop
Initialize a new ImageDrop
page - The page hash (e.g., Page#to_liquid) context - the Liquid::Context
550 551 552 553 554 555 556 |
# File 'lib/starter_web/_plugins/seo/j1-seo-tags.rb', line 550 def initialize(page: nil, context: nil) raise ArgumentError unless page && context @mutations = {} @page = page @context = context end |