Skip to content

Commit

Permalink
Adds a variable to let us print a token for replacement in the breadc…
Browse files Browse the repository at this point in the history
…rumb trail.
  • Loading branch information
rupertj committed Aug 13, 2024
1 parent 65d36fa commit ed97266
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/navigation/breadcrumb.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* Available variables:
* - breadcrumb: Breadcrumb trail items.
* - breadcrumb_token: Used to insert a token to be replaced by a reverse CMS (EG Civica Modern.Gov)
*/
#}

Expand All @@ -25,6 +26,9 @@
{% endif %}
</li>
{% endfor %}
{% if breadcrumb_token is defined %}
{{ breadcrumb_token }}
{% endif %}
</ol>
</nav>
{% endif %}

0 comments on commit ed97266

Please sign in to comment.