Sha256: 7fb5a7f02c2f074a49d4930d9db6a22ee2555c9a9809eea6db694c47216de631

Contents?: true

Size: 320 Bytes

Versions: 14

Compression:

Stored size: 320 Bytes

Contents

class Caboodle::SEO < Caboodle::Kit
  description "Adds basic search engine optimisation"
  optional [:seo_keywords,:seo_description]
  add_layout :meta, "<meta type='keywords' value='#{seo_keywords}' />" if seo_keywords
  add_layout :meta, "<meta type='description' value='#{seo_description}' />" if seo_description
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
caboodle-0.3.0 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.30 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.29 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.28 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.27 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.26 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.25 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.24 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.23 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.22 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.21 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.20 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.19 lib/caboodle/kits/seo/seo.rb
caboodle-0.2.18 lib/caboodle/kits/seo/seo.rb