Skip to content

Commit

Permalink
Fix SkipLink error due to no #content element
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Oct 9, 2024
1 parent c279322 commit d549d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/landing_page/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="landing-page">
<div class="landing-page" id="content">
<% @content_item.blocks.each do |block| %>
<%= tag.div class: ["govuk-block__#{block.type}", ("govuk-width-container" unless block.full_width?)] do
render "landing_page/blocks/#{block.type}", block:
Expand Down

0 comments on commit d549d15

Please sign in to comment.