mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
wrap category breadcrumbs
This commit is contained in:
parent
dd551470c5
commit
7ea7fd1892
2 changed files with 11 additions and 3 deletions
|
@ -87,6 +87,10 @@ $red: #DD3416;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.category-parents{
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.main-category-title{
|
.main-category-title{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
|
|
|
@ -3,9 +3,13 @@
|
||||||
{{#each categories}}
|
{{#each categories}}
|
||||||
<div class="category-heading">
|
<div class="category-heading">
|
||||||
<div class="category-title">
|
<div class="category-title">
|
||||||
{{#each categoryParents}}
|
{{#with categoryParents}}
|
||||||
<a href="{{this.getUrl}}">{{title}}</a> {{{icon "next"}}}
|
<div class="category-parents">
|
||||||
{{/each}}
|
{{#each this}}
|
||||||
|
<a href="{{this.getUrl}}">{{title}}</a> {{{icon "next"}}}
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
{{/with}}
|
||||||
<h2 class="main-category-title">{{title}}</h2>
|
<h2 class="main-category-title">{{title}}</h2>
|
||||||
</div>
|
</div>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue