<%= yield(:feeds) %> <%= noosfero_javascript %> <%= stylesheet_link_tag noosfero_stylesheets, :cache => 'cache' %> <%= stylesheet_link_tag template_stylesheet_path %> <%= stylesheet_link_tag icon_theme_stylesheet_path %> <%= stylesheet_link_tag jquery_ui_theme_stylesheet_path %> <% plugins_stylesheets = @plugins.select(&:stylesheet?).map { |plugin| plugin.class.public_path('style.css') } %> <%= stylesheet_link_tag(plugins_stylesheets, :cache => 'cache/plugins-' + Digest::MD5.hexdigest(plugins_stylesheets.to_s)) unless plugins_stylesheets.empty? %> <%= stylesheet_link_tag theme_stylesheet_path %> <%# Add custom tags/styles/etc via content_for %> <%= yield :head %> <%= javascript_tag('render_all_jquery_ui_widgets()') %> <% plugins_javascripts = @plugins.map { |plugin| plugin.js_files.map { |js| plugin.class.public_path(js) } }.flatten %> <%= javascript_include_tag(plugins_javascripts, :cache => 'cache/plugins-' + Digest::MD5.hexdigest(plugins_javascripts.to_s)) unless plugins_javascripts.empty? %> <%= @plugins.dispatch(:head_ending).collect do |content| content.respond_to?(:call) ? content.call : content end.join("\n") %> " > <%= _("Go to the content") %> <%= @plugins.dispatch(:body_beginning).collect do |content| content.respond_to?(:call) ? content.call : content end.join("\n") %>
<%= theme_header %>

<%= theme_site_title %>

<%= insert_boxes(yield) %>
<%= render_environment_features(:logged_in) %> <%= noosfero_layout_features %> <%= theme_javascript_ng %>