Skip to content

Commit

Permalink
Update from Shopify for theme sneakerlab/trunk
Browse files Browse the repository at this point in the history
Committed from shop: Sneaker Lab 2022
  • Loading branch information
shopify[bot] committed Apr 17, 2024
1 parent 4b635c6 commit 8ba6e1c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions snippets/shogun-head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,20 @@ This file can be re-written at any time.
{{article.metafields.shogun.head}}
{% endif %}

{%- capture page_id -%}
{%- if page -%}
{{ page.id }}
{%- elsif blog -%}
{{ blog.id }}
{%- elsif article -%}
{{ article.id }}
{%- elsif product -%}
{{ product.id }}
{%- elsif collection -%}
{{ collection.id | default: 'all'}}
{%- else -%}
index
{%- endif -%}
{%- endcapture -%}
<meta name="shogun-data" content="page_type={{request.page_type}}, page_id={{page_id | strip}}, site_id=164ced0b-290e-4d14-968b-1027fa2724c1">

0 comments on commit 8ba6e1c

Please sign in to comment.