---
title: "all_articles"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/sline/object/all-articles'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/sline/object/all-articles.md'
---

# all_articles


    店铺博客中的所有文章。

    单独使用该 object 不会产生输出，需配合 [get](https://developer.shopline.com/zh-hans-cn/docs/sline/filter/get.md) filter 一起使用。





    
## 例子

        
            

            按 `blogHandle/articleHandle` 格式传参，返回对应的 [article](https://developer.shopline.com/zh-hans-cn/docs/sline/object/article.md) object。

            

            
<SlineExample path={''} objects={ 
    [""] 
}>
```sline
{{#var article = all_articles | get("news/blog-2") /}}
{{#link_to article.url}}
  {{article.title}}
{{/link_to}}
```
</SlineExample>
            
        
    
