Skip to content

Commit

Permalink
Merge pull request #882 from alphagov/use-meta-component
Browse files Browse the repository at this point in the history
Use the meta tags component from the gem
  • Loading branch information
tijmenb authored Apr 30, 2018
2 parents 555c251 + d8b0577 commit 2a53cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<% end %>
<%= javascript_include_tag "application", integrity: true, crossorigin: 'anonymous' %>
<%= csrf_meta_tags %>
<%= render partial: 'govuk_component/analytics_meta_tags', locals: { content_item: @content_item.content_item } %>
<%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item.content_item %>

<% if @content_item.description %>
<meta name="description" content="<%= strip_tags(@content_item.description) %>" />
Expand Down

0 comments on commit 2a53cae

Please sign in to comment.