Sha256: c4584ff5b46a11a70c42c814ab159fb0ee119967e7cc3e062451c25a3ab76b30
Contents?: true
Size: 1.04 KB
Versions: 6
Compression:
Stored size: 1.04 KB
Contents
module RailsConnector # This module contains helpers that render tags for the html head # and the end of the html body. # @api public module LayoutHelper include TrackingHelper # Renders all tags needed in the html head for the enabled features. # @api public def rails_connector_header_tags html = "".html_safe html += tag('meta', :name => 'generator', :content => "Rails Connector for Infopark CMS Fiona by Infopark AG (www.infopark.de)") if Configuration.enabled?(:rss) html += auto_discovery_link_tag(:rss, rss_url, :title => 'RSS Feed') end html += include_edit_marker_support html += include_editing_stylesheet html end # Renders all tags needed at the end of the body tag for the enabled features. # @api public def rails_connector_after_content_tags html = "".html_safe html += render_marker_code html += include_editing_javascript html += google_analytics if Configuration.enabled?(:google_analytics) html end end end
Version data entries
6 entries across 6 versions & 1 rubygems