adds rel canonical on main sections

This commit is contained in:
Alberto Garcia Cabeza
2017-05-08 15:06:18 +02:00
parent 37a403adc5
commit b29a353ce5
7 changed files with 18 additions and 0 deletions

View File

@@ -4,6 +4,9 @@
search_path: debates_path(page: 1),
i18n_namespace: "debates.index.search_form" %>
<% end %>
<% content_for :canonical do %>
<%= render "shared/canonical", href: debates_url %>
<% end %>
<main>
<h1 class="sr-only"><%= t("shared.outline.debates") %></h1>