Skip to content

Commit

Permalink
Use the meta tags component from the gem
Browse files Browse the repository at this point in the history
This replaces the analytics meta tags component from Static with the
new [meta tags
component](https://github.com/alphagov/govuk_publishing_components/pull/
278) in the gem. There should be no changes in behaviour.
  • Loading branch information
tijmenb committed Apr 24, 2018
1 parent c896758 commit d8b0577
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 d8b0577

Please sign in to comment.