Skip to content

Commit

Permalink
Merge pull request #862 from alphagov/set-lang-for-titles
Browse files Browse the repository at this point in the history
Set title lang to match locale of content
  • Loading branch information
MatMoore authored Apr 6, 2018
2 parents 5253280 + fa76ae6 commit c35e709
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
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>
<title lang="<%= I18n.locale %>">
<%if content_for?(:title) %>
<%= yield :title %> - GOV.UK
<% else %>
Expand Down

0 comments on commit c35e709

Please sign in to comment.