Fix #3096 enabling breadcrumb on all pages (#3668)

This commit is contained in:
iBug
2022-05-30 02:33:50 +08:00
committed by GitHub
parent 6f0ba5e363
commit e44403e276

View File

@ -8,7 +8,7 @@ layout: default
{% include page__hero_video.html %} {% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs or page.breadcrumbs != false %} {% if page.url != "/" and site.breadcrumbs or page.breadcrumbs %}
{% unless paginator %} {% unless paginator %}
{% include breadcrumbs.html %} {% include breadcrumbs.html %}
{% endunless %} {% endunless %}