-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1444 from kchu93/MERC-4566
MERC-4566 Add option to hide breadcrumbs and page title
- Loading branch information
Showing
7 changed files
with
64 additions
and
17 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> | ||
{{/each}} | ||
{{#unless theme_settings.hide_breadcrumbs }} | ||
{{#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> | ||
{{/each}} | ||
{{/unless}} | ||
</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