Sha256: 982f02c97dfc04787ae6eaa8fff30e4c5f92f74ce1844b36269f255b69fb8769

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

module Scrivito

  # This module contains helpers that render tags for the html head
  # and the end of the html body.
  # @api public
  module LayoutHelper

    # Renders all tags needed in the HTML head.
    # @api public
    def scrivito_header_tags
      generator_meta_tag + include_editing_stylesheet + widget_reset_stylesheet
    end

    # Renders all tags needed at the end of the BODY tag.
    # @api public
    def scrivito_after_content_tags
      include_editing_javascript
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scrivito_sdk-0.18.1 app/helpers/scrivito/layout_helper.rb
scrivito_sdk-0.18.0 app/helpers/scrivito/layout_helper.rb
scrivito_sdk-0.17.0 app/helpers/scrivito/layout_helper.rb