Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active September 11, 2020 17:33
Case statement for article template to build accessible breadcrumbs - https://www.shopify.com/partners/blog/breadcrumb-navigation
{% when 'article' %}
<li>{{ blog.title | link_to: blog.url }}</li>
<li>
<a href="{{ article.url }}" aria-current="page">{{ article.title }}</a>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment