---
title: "sections"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/tag/sections'
  md: 'https://developer.shopline.com/docs/sline/tag/sections.md'
---

# sections


    Renders a section group. The sections in a section group can be used only in `layout` template files.

    



```sline
{{#sections "file_name" /}}
```





    
        ## Required params

        
             `file_name` `string`\: The name of the section group to render, corresponding to a `.json` file under the `sections` directory. For example, to render the default section group `sections/header.json`, `file_name` should be replaced with `header`.
        
    





    
## Example

        
            

            To render the `header` group, use the following code.

            
```sline
{{#sections "header" /}}
```
            

            
        
    
