Skip to content

Commit

Permalink
Add breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 25, 2025
1 parent 383698d commit e22a5af
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
{% endif %}
{% endblock %}


{% block header %}
{%- if feature.PHASE_BANNER %}
{{ tnaPhaseBanner({
Expand Down
22 changes: 21 additions & 1 deletion app/templates/sitemap_search/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends 'base.html' %}

{%- from 'components/breadcrumbs/macro.html' import tnaBreadcrumbs -%}
{%- from 'components/card/macro.html' import tnaCard -%}
{%- from 'components/compound-filters/macro.html' import tnaCompoundFilters -%}
{%- from 'components/pagination/macro.html' import tnaPagination -%}
Expand All @@ -20,8 +21,27 @@
{% endif %}
{% endblock %}

{% block beforeContent %}
<div class="tna-background-accent-light">
<div class="tna-container">
<div class="tna-column tna-column--full">
{{ tnaBreadcrumbs({
'items': [
{
'text': 'Home',
'href': '/'
}
],
'structuredData': True,
'classes': 'tna-!--padding-vertical-s'
}) }}
</div>
</div>
</div>
{% endblock %}

{% block content %}
<div class="tna-background-accent-light tna-!--padding-top-m tna-!--padding-bottom-l">
<div class="tna-background-accent-light tna-!--padding-top-s tna-!--padding-bottom-l">
<div class="tna-container">
<form class="tna-column tna-column--width-2-3 tna-column--width-5-6-medium tna-column--full-small tna-column--full-tiny" method="get" action="{{ url_for('sitemap_search.index') }}" role="search">
{{ tnaSearchField({
Expand Down

0 comments on commit e22a5af

Please sign in to comment.