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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user