Shopifyでブログページに他のファイルをinclude表示する方法。
1.Snippetsフォルダにliquidファイルを作成する。(例:footer-blog.liquid)
2.Section/main-article.liquidに{% include 'footer-blog' %}を追加する。
追加する場所は下記。51行目ぐらい
{%- when 'content'-%}
{{ article.content }}
{% include 'footer-blog' %}
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 3 years have passed since last update.
Shopifyでブログページに他のファイルをinclude表示する方法。
1.Snippetsフォルダにliquidファイルを作成する。(例:footer-blog.liquid)
2.Section/main-article.liquidに{% include 'footer-blog' %}を追加する。
追加する場所は下記。51行目ぐらい
{%- when 'content'-%}
Register as a new user and use Qiita more conveniently
Go to list of users who liked