Skip to content

Commit

Permalink
Add missing closing tag for link in site header
Browse files Browse the repository at this point in the history
Firefox was showing the source code with the heading tags in red.
I discovered that it was due to a missing link-closing tag, so I
added </a> to the main layout heading.
  • Loading branch information
octopusinvitro committed Sep 2, 2016
1 parent 3bd8a34 commit c98a2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<a href="/"><span class="header-logo">EveryPolitician</span></a>
<% end %>
</h2>
<% if @house %><h3><a href="/<%= @country.slug.downcase %>/<%= @house.slug.downcase %>/"><%= @house.name %></h3><% end %>
<% if @house %><h3><a href="/<%= @country.slug.downcase %>/<%= @house.slug.downcase %>/"><%= @house.name %></a></h3><% end %>
</div>
<div class="site-header__navigation site-header__navigation--primary">
<nav role="navigation">
Expand Down

0 comments on commit c98a2bc

Please sign in to comment.