Skip to content

Commit

Permalink
Don't use name property on site name
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez authored and Brice Sanchez committed Nov 9, 2016
1 parent 82970b4 commit 49ffdc6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/app/views/refinery/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<%= content_tag :div, id: "logo", itemscope: "", itemtype: "http://schema.org/Organization" do %>
<%= link_to refinery.root_path, itemprop: "url" do %>
<%= content_tag :span, { itemprop: "name"} do %>
<%= Refinery::Core.site_name %>
<% end %>
<%= Refinery::Core.site_name %>
<% end %>
<% end %>
<% cache [I18n.locale, 'main_menu', @page, Refinery::Page.fast_menu.map(&:updated_at).max] do %>
<%=
main_menu = Refinery::Pages::MenuPresenter.new(refinery_menu_pages, self)
main_menu.menu_role = 'navigation'
main_menu.to_html
main_menu.menu_role = 'navigation'
main_menu.to_html
%>
<% end %>

0 comments on commit 49ffdc6

Please sign in to comment.