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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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