Sha256: e334e5a1774e2b0e838f5a32fdb7e9184da5d6376ed103a5182a8ad16b665f69

Contents?: true

Size: 311 Bytes

Versions: 17

Compression:

Stored size: 311 Bytes

Contents

module EvilFront::Helpers
  # Add content to head tag. Will be useful in page views.
  #
  #   - head_content do
  #     meta name="description" content=page.seo.description
  #     meta name="keywords"    content=page.seo.keywords
  def head_content(&block)
    content_for(:evil_front_head, &block)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
evil-front-0.5.1 lib/evil-front/helpers/head_content.rb
evil-front-0.5.0 lib/evil-front/helpers/head_content.rb
evil-front-0.4.0 lib/evil-front/helpers/head_content.rb
evil-front-0.3.10 lib/evil-front/helpers/head_content.rb
evil-front-0.3.9 lib/evil-front/helpers/head_content.rb
evil-front-0.3.8 lib/evil-front/helpers/head_content.rb
evil-front-0.3.7 lib/evil-front/helpers/head_content.rb
evil-front-0.3.6 lib/evil-front/helpers/head_content.rb
evil-front-0.3.5 lib/evil-front/helpers/head_content.rb
evil-front-0.3.4 lib/evil-front/helpers/head_content.rb
evil-front-0.3.3 lib/evil-front/helpers/head_content.rb
evil-front-0.3.2 lib/evil-front/helpers/head_content.rb
evil-front-0.3.1 lib/evil-front/helpers/head_content.rb
evil-front-0.3.0 lib/evil-front/helpers/head_content.rb
evil-front-0.2.1 lib/evil-front/helpers/head_content.rb
evil-front-0.2.0 lib/evil-front/helpers/head_content.rb
evil-front-0.1.0 lib/evil-front/helpers/head_content.rb