adds rel canonical on show views
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<% content_for :canonical do %>
|
||||
<%= render "shared/canonical", href: budget_group_url(filter: @current_filter) %>
|
||||
<% end %>
|
||||
|
||||
<div class="expanded budget no-margin-top">
|
||||
<div class="row">
|
||||
<div class="small-12 medium-9 column padding">
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
search_path: budget_investments_path(budget_id: @budget.id, page: 1),
|
||||
i18n_namespace: "budgets.investments.index.search_form" %>
|
||||
<% end %>
|
||||
<% content_for :canonical do %>
|
||||
<%= render "shared/canonical", href: budget_investments_url(@budget, heading_id: @heading.id, filter: @current_filter) %>
|
||||
<% end %>
|
||||
|
||||
<main id="budget-investments-main">
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<% provide :title do %><%= @investment.title %><% end %>
|
||||
<% content_for :canonical do %>
|
||||
<%= render "shared/canonical", href: budget_investment_url %>
|
||||
<% end %>
|
||||
|
||||
<%= render partial: '/budgets/investments/investment_show', locals: {
|
||||
investment: @investment,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<% content_for :canonical do %>
|
||||
<%= render "shared/canonical", href: budget_url(@budget, filter: @current_filter) %>
|
||||
<% end %>
|
||||
|
||||
<div class="expanded budget no-margin-top">
|
||||
<div class="row" data-equalizer data-equalizer-on="medium">
|
||||
<div class="small-12 medium-9 column padding" data-equalizer-watch>
|
||||
|
||||
Reference in New Issue
Block a user