Disable breadcrumbs on homepage

This commit is contained in:
Michael Rose 2016-03-23 11:42:58 -04:00
parent bd7839833b
commit d5c3383f2a
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@ layout: compress
</div>
{% endif %}
{% if site.breadcrumbs and site.categories.type == 'jekyll-archives' %}
{% if page.url != "/" and site.breadcrumbs and site.categories.type == "jekyll-archives" %}
{% include breadcrumbs.html %}
{% endif %}

View file

@ -9,7 +9,8 @@
.breadcrumbs {
@include container;
@include clearfix;
margin-bottom: 1em;
margin-top: 0;
margin-bottom: 0;
padding-left: 2em;
padding-right: 2em;
font-family: $sans-serif;