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{
|
||||
display: inline-block;
|
||||
font-size: 22px;
|
||||
|
|
|
@ -3,9 +3,13 @@
|
|||
{{#each categories}}
|
||||
<div class="category-heading">
|
||||
<div class="category-title">
|
||||
{{#each categoryParents}}
|
||||
<a href="{{this.getUrl}}">{{title}}</a> {{{icon "next"}}}
|
||||
{{/each}}
|
||||
{{#with categoryParents}}
|
||||
<div class="category-parents">
|
||||
{{#each this}}
|
||||
<a href="{{this.getUrl}}">{{title}}</a> {{{icon "next"}}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/with}}
|
||||
<h2 class="main-category-title">{{title}}</h2>
|
||||
</div>
|
||||
{{#if description}}
|
||||
|
|
Loading…
Add table
Reference in a new issue