The shared snippet for blog display doesn't work by top-page / ブログ表示の共有スニペットがトップページからだと動きません

Topic summary

Issue Reported:
A user created a Liquid snippet (article-slimlist.liquid) to display a blog article list. The snippet works correctly on blog listing pages, but when rendered on the top page using the render tag, all article links display the same article content instead of their respective content.

Code Provided:

  • The user shared their snippet code (article-slimlist.liquid) and section code (featured-blog-slim.liquid)
  • Note: The section code appears corrupted/reversed in the original post

Response & Status:

  • A community helper (Qcoltd) attempted to reproduce the issue in a development store but could not replicate the problem
  • Both blog listing pages and top page displayed correct article content in their testing
  • The helper requested private message access or collaborator access to investigate further
  • The conversation moved toward private messaging to troubleshoot the specific store setup

Current Status: Unresolved publicly; investigation continuing through private channels.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

I have created a snippet for displaying a list of blogs.

The snippet works fine for displaying a list of blogs, but when I include it using the “render” tag in a blog article on the top-page, it doesn’t work correctly.

While the list of blogs is displayed, when selecting any article, the same article content is shown.

If anyone knows what might be causing this issue, I would greatly appreciate your assistance.

(Japanese) ブログ一覧表示の為のスニペットを作成しました。

ブログの一覧表示では正常に動いていますが、トップページのブログ記事でrenderに記載すると正常に動きません。

一覧表示はできるのですが、どの記事を選択しても同じ記事が表示されていまします。

何か問題があるかお分かりになる方がいましたら教えていただければ幸いです。

Snippet/スニペット:article-slimlist.liquid

{%- if article and article != empty -%}

  
    {%- if show_date -%}
      

        {{ article.published_at | time_tag: format: 'date' }}
      

    {%- endif -%}

    {%- if show_tags -%}
      {{ article.tags }}
    {%- endif -%}

    ### 
      
        {{ article.title | truncate: 50 | escape }}
      
    
  

{%- endif -%}

Section/セクション:featured-blog-slim.liquid


  

    {%- unless section.settings.heading == blank -%}
      

        ## {{ section.settings.heading | escape }}

        {%- if section.settings.blog != blank and section.settings.show_view_all and section.settings.post_limit < section.settings.blog.articles_count -%}
          
            {{ 'sections.featured_blog.view_all' | t }}
          
        {%- endif -%}
      

    {%- endunless -%}
    {%- if section.settings.blog != blank and section.settings.blog.articles_count > 0 -%}
      
        {%- for article in section.settings.blog.articles limit: section.settings.post_limit -%}
          - {% render 'article-slimlist',
                article: article,
                show_date: section.settings.show_date,
                show_tags: section.settings.show_tags 
              %}
          
        {%- endfor -%}
      

      {%- if section.settings.show_view_all and section.settings.post_limit < section.settings.blog.articles_count -%}
        
          
            {{ 'sections.featured_blog.view_all' | t }}
          
        

      {%- endif -%}
    {%- else -%}
      
        - 投稿日
          

          
            

                現在、お知らせはございません。
            

          

        
      

    {%- endif -%}
  

@FABEA

記載いただいたコードを開発ストアで試してみたのですが、

質問者様と同じ状況が再現できず、

ブログ記事一覧でもトップページでも、

きちんと対応した記事内容が表示されました。

差し支えなければ、

プライベートメッセージでやりとりさせていただいて、

コラボレーターアクセスなど頂戴できれば、

何か分かるかもしれません。

ご検討ください。

(キュー田辺)

キュー田辺様

ご返信ありがとうございます。

記載しましたコードをお試しいただいたとのことでありがとうございます。

メッセージでやりとりさせていただきたいのですが、

どのよう三田連絡差し上げればよろしいでしょうか。

お忙しいところ恐れ入りますが、宜しくお願い致します。。

FABEA 三田

@FABEA

私たちのアイコン(Qと記載されたアイコン)をクリックいただくと、
下図のような画面が開くはずです。

「メッセージを送信する」からメッセージをいただけるとプライベートメッセージになります。

(キュー田辺)