Disable breadcrumbs on homepage
This commit is contained in:
parent
bd7839833b
commit
d5c3383f2a
2 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@ layout: compress
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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 %}
|
{% include breadcrumbs.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
.breadcrumbs {
|
.breadcrumbs {
|
||||||
@include container;
|
@include container;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-bottom: 1em;
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
padding-right: 2em;
|
padding-right: 2em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
|
|
Loading…
Reference in a new issue