Skip to content

Commit

Permalink
Remove hidden headers test
Browse files Browse the repository at this point in the history
  • Loading branch information
amyleadem committed Aug 4, 2023
1 parent 6916eb1 commit 39d6835
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/usa-in-page-navigation/src/usa-in-page-navigation.twig
Expand Up @@ -20,14 +20,10 @@
{% for item in items %}
{% if item.is_subheading %}
<h3>{{ item.section_heading }}</h3>
{% elseif not item.hidden_style%}
{% else %}
<h2>{{ item.section_heading }}</h2>
{% elseif hiddenHeader %}
<h2 style="{{ item.hidden_style }}">{{ item.section_heading }}</h2>
{% endif %}
{% if item.content %}
{{ item.content }}
{% endif %}
{{ item.content }}
{% endfor %}
{% endif %}
</main>
Expand All @@ -38,4 +34,4 @@

<div class="usa-in-page-nav-container">
{{ inpagenav.inpagenav(items, 'usa-in-page-navigation') }}
</div>
</div>

0 comments on commit 39d6835

Please sign in to comment.