Adds social meta tags for budget results

This commit is contained in:
rgarcia
2017-07-13 12:28:51 +02:00
parent 8d7a467397
commit a6baaa93ba

View File

@@ -1,6 +1,13 @@
<% 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 %>
<%= render "shared/canonical", href: budget_results_url(@budget, heading_id: @heading) %>
<%= render "shared/canonical", href: budget_results_url(@budget) %>
<% end %>
<div class="expanded budget no-margin-top">