🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
14
node_modules/shiki/samples/liquid.sample
generated
vendored
Normal file
14
node_modules/shiki/samples/liquid.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<h3>Recommended Products</h3>
|
||||
<ul class="recommended_products">
|
||||
{% assign recommended_products = product.metafields.my_fields.rec_products.value %}
|
||||
{% for product in recommended_products %}
|
||||
<li>
|
||||
<a href="{{ product.url }}">
|
||||
{{ product.featured_image | image_url: width: 400 | image_tag: loading: 'lazy' }}
|
||||
{{product.title}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{%- comment -%} From https://www.codeshopify.com/blog_posts/related-products-with-product_list-sections-metafields {%- endcomment -%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue