Improve breadcrumb helper

- Add support for collections
- Add support for crumb links that point to auto-generated archive pages (courtesy of Jekyll Archives plugin) and single page Liquid spaghetti pages
- Improve styling
This commit is contained in:
Michael Rose
2016-03-11 15:54:16 -05:00
parent 3aa50cc5a5
commit a3d251a18e
4 changed files with 41 additions and 14 deletions

View File

@@ -7,6 +7,22 @@
========================================================================== */
.breadcrumbs {
@include grid(12,10);
@include prefix(12,1);
@include suffix(12,1);
margin-bottom: 1em;
font-family: $sans-serif;
font-size: 14px;
@include breakpoint($small) {
@include grid(12,11);
@include prefix(12,0.5);
@include suffix(12,0.5);
}
@include breakpoint($x-large) {
@include grid(12,8);
@include prefix(12,2);
@include suffix(12,2)
}
ol {
padding: 0;
list-style: none;