Skip to content

Commit

Permalink
Semantic update
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbobel committed Sep 25, 2024
1 parent 72eff32 commit e0fb031
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/templates/components/components/back-link/template.njk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="usa-breadcrumb" aria-label="Back button">
<a href="{%- if params.href %}{{ params.href }}{% else %}#{% endif -%}" class="usa-link usa-back-link display-inline-flex {%- if params.classes %} {{ params.classes }}{% endif -%}"
{%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %}>{{ (params.html | safe if params.html else (params.text if params.text else 'Back')) }}</a>
<nav class="usa-breadcrumb" aria-label="Breadcrumb">
<a href="{{ params.href or '#' }}" class="usa-link usa-back-link display-inline-flex {{ params.classes or '' }}"
{%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}" {% endfor %}>{{ params.html | safe or params.text or 'Back' }}</a>
</nav>

0 comments on commit e0fb031

Please sign in to comment.