Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save blueprintmrk/d4b7eaa350abed8c4634081c2f653416 to your computer and use it in GitHub Desktop.
Save blueprintmrk/d4b7eaa350abed8c4634081c2f653416 to your computer and use it in GitHub Desktop.
Case statement for page template to build accessible breadcrumbs - https://www.shopify.com/partners/blog/breadcrumb-navigation
{% when 'page' %}
<li>
<a href="{{ page.url }}" aria-current="page">{{ page.title }}</a>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment