Skip to content

Commit

Permalink
Fix mmistakes#3668 breaking "disable per-page when globally enabled"
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed May 29, 2022
1 parent 3d65710 commit cd02f8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
{% include page__hero_video.html %}
{% endif %}

{% if page.url != "/" and site.breadcrumbs or page.breadcrumbs %}
{% assign breadcrumb_enabled = page.breadcrumbs | default: site.breadcrumbs %}
{% if page.url != "/" and breadcrumb_enabled %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
Expand Down

0 comments on commit cd02f8e

Please sign in to comment.