---
updatedAt: 2025-04-23T20:18:34.000Z
agentTools:
  projectIndex: https://shopline-layout.readme.io/llms.txt
---

# post_categories_pannel_toggle.liquid

`post_categories_pannel_toggle.liquid`用於展示手機端部落格文章分類區塊入口

<Image align="center" width="400px" src="https://files.readme.io/287c4a7873040b14476eaea65936d94d13ff3114107abc2dc5b40d46ba2f7c83-image.png" />

***

### 範例

以下是手機端部落格文章列表展示範例：

```Text liquid
{% if post_categories and post_categories.size > 0 %}
  <div class="post-categories-pannel-toggle">
    <div class="post-categories-pannel-toggle__content">
      <svg>
        <use xlink:href="#icon-filter"></use>
      </svg>
      {{ 'shopline_translations.themes.blog.all_categories' | translate }}
    </div>
  </div>
{% endif %}
```