-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MERC-4566 Add option to hide breadcrumbs and page title
- Loading branch information
Kevin Chu
committed
Feb 14, 2019
1 parent
e77e420
commit e3e3834
Showing
7 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<ul class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList"> | ||
{{#each breadcrumbs}} | ||
<li class="breadcrumb {{#if @last}}is-active{{/if}}" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
{{#or @last (if url "==" null)}} | ||
<meta itemprop="item" content="{{url}}"> | ||
<span class="breadcrumb-label" itemprop="name">{{name}}</span> | ||
{{else}} | ||
<a href="{{url}}" class="breadcrumb-label" itemprop="item"><span itemprop="name">{{name}}</span></a> | ||
{{/or}} | ||
<meta itemprop="position" content="{{add @index 1}}" /> | ||
</li> | ||
{{#or (if ../theme_settings.breadcrumbs '!==' true)}} | ||
<li class="breadcrumb {{#if @last}}is-active{{/if}}" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
{{#or @last (if url "==" null)}} | ||
<meta itemprop="item" content="{{url}}"> | ||
<span class="breadcrumb-label" itemprop="name">{{name}}</span> | ||
{{else}} | ||
<a href="{{url}}" class="breadcrumb-label" itemprop="item"><span itemprop="name">{{name}}</span></a> | ||
{{/or}} | ||
<meta itemprop="position" content="{{add @index 1}}" /> | ||
</li> | ||
{{/or}} | ||
{{/each}} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters