Skip to content

Commit

Permalink
Fixed CalAcademy breadcrumb to be linkable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbum committed Mar 27, 2024
1 parent d80ec9e commit 3c9d83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/_includes/breadcrumb.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% set crumbs = collections.all | eleventyNavigationBreadcrumb(articleId) %}
{%- for crumb in crumbs %}
<span class="crumb separator">/</span>
{% if crumb.title == 'Projects' %}
{% if crumb.title == 'Projects' or crumb.title == 'CalAcademy' %}
<a class="crumb" href="{{ crumb.url }}">{{ crumb.title | safe }}</a>
{% else %}
<span class="crumb">{{ crumb.title | safe }}</span>
Expand Down

0 comments on commit 3c9d83e

Please sign in to comment.