Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active September 11, 2020 17:44
Show Gist options
  • Save shopifypartners/407fe9dffdacc8fb8c2e58039ca1425c to your computer and use it in GitHub Desktop.
Save shopifypartners/407fe9dffdacc8fb8c2e58039ca1425c 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