Skip to content

Commit

Permalink
Make page header optional
Browse files Browse the repository at this point in the history
This fixes the `gscan` error report.
  • Loading branch information
adamkudrna committed Apr 13, 2024
1 parent e9e41c2 commit c3d9900
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
<main class="site__content">
<article class="article">

<header class="section background-alternate print-padding-none">
<div class="container container--article">
{{#match @page.show_title_and_feature_image}}
<header class="section background-alternate print-padding-none">
<div class="container container--article">

<h1 class="article__title js-nbsp">{{title}}</h1>
<h2 class="article__summary js-nbsp">{{excerpt}}</h2>
<h1 class="article__title js-nbsp">{{title}}</h1>
<h2 class="article__summary js-nbsp">{{excerpt}}</h2>

</div>
</header>
</div>
</header>
{{/match}}

<section class="section section--roomy-bottom">
<div class="container container--article">
Expand Down

0 comments on commit c3d9900

Please sign in to comment.