-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31ec00c
commit ed0053e
Showing
3 changed files
with
42 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: Breadcrumbs | ||
type: components | ||
module: _includes/site/breadcrumbs.html | ||
|
||
examples: | ||
community: | ||
section: community | ||
title: Foo Bar | ||
url: /foo/bar | ||
community_main: | ||
section: community | ||
title: Foo Bar | ||
url: /community/ | ||
archive: | ||
section: archive | ||
title: Foo Bar | ||
url: /foo/bar | ||
no_section: | ||
title: Foo Bar | ||
url: /foo/bar | ||
--- | ||
<strong>Basic</strong> | ||
{% assign example = page.examples.community %} | ||
{% include site/breadcrumbs.html page=example %} | ||
|
||
<strong>Section Main</strong> | ||
{% assign example = page.examples.community_main %} | ||
{% include site/breadcrumbs.html page=example %} | ||
|
||
<strong>Non-link Item</strong> | ||
{% assign example = page.examples.archive %} | ||
{% include site/breadcrumbs.html page=example %} | ||
|
||
<strong>No section</strong> | ||
{% assign example = page.examples.no_section %} | ||
{% include site/breadcrumbs.html page=example %} |