Make it possible to enable breadcrumbs per page (#3096)

* Make it possible to disable breadcrumbs per page

* Update single.html

* Update single.html
This commit is contained in:
Lars Olesen 2022-05-27 18:04:56 +02:00 committed by GitHub
parent f92670442f
commit 65237df377
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 %}
{% if page.url != "/" and site.breadcrumbs or page.breadcrumbs != false %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
@ -88,4 +88,4 @@ layout: default
</div>
</div>
{% endif %}
</div>
</div>