Skip to content

Commit

Permalink
Add style guide entry
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 18, 2023
1 parent ba75f82 commit d7dff6f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions _style_guide/components/breadcrumbs.html
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 %}

0 comments on commit d7dff6f

Please sign in to comment.