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 html = "".html_safe html += tag('meta', :name => 'generator', :content => "Scrivito by Infopark AG (www.infopark.de)") html += include_editing_stylesheet html += widget_reset_stylesheet html end # Renders all tags needed at the end of the body tag. # @api public def scrivito_after_content_tags html = "".html_safe html += include_editing_javascript html end end end