Adds social meta tags for budget results
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
<% provide :title, t("budgets.results.page_title", budget: @budget.name) %>
|
<% provide :title, t("budgets.results.page_title", budget: @budget.name) %>
|
||||||
|
<% content_for :meta_description do %><%= @budget.description_finished %><% end %>
|
||||||
|
<% provide :social_media_meta_tags do %>
|
||||||
|
<%= render "shared/social_media_meta_tags",
|
||||||
|
social_url: budget_results_url(@budget),
|
||||||
|
social_title: @budget.name,
|
||||||
|
social_description: @budget.description_finished %>
|
||||||
|
<% end %>
|
||||||
<% content_for :canonical do %>
|
<% content_for :canonical do %>
|
||||||
<%= render "shared/canonical", href: budget_results_url(@budget, heading_id: @heading) %>
|
<%= render "shared/canonical", href: budget_results_url(@budget) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="expanded budget no-margin-top">
|
<div class="expanded budget no-margin-top">
|
||||||
|
|||||||
Reference in New Issue
Block a user