Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Last active July 29, 2019 10:26
Show Gist options
  • Select an option

  • Save shopifypartners/cdd866d78e79295ec1eb1494595b2bb9 to your computer and use it in GitHub Desktop.

Select an option

Save shopifypartners/cdd866d78e79295ec1eb1494595b2bb9 to your computer and use it in GitHub Desktop.
404 template file, which is connected to an alternative layout file "404-layout" - https://www.shopify.com/partners/blog/best-404-pages
{% layout "404-layout" %}
<div class="page-width">
<div class="empty-page-content text-center">
<h1>{{ 'general.404.title' | t }}</h1>
<p>{{ 'general.404.subtext' | t }}</p>
<p>
<a href="/" class="btn btn--has-icon-after">{{ 'general.404.link' | t }}{% include 'icon-arrow-right' %}</a>
</p>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment