---
title: "content"

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

# content


    Renders the content of the specified type.

    The `content` tag can be used to render a header, a footer, a template, or all blocks within the current section or block.



```sline
{{#content content_type /}}
```





    
        ## Required params

        
             `content_type` `string`\: The type of content to render. Valid values are:
- `header`: A header. The value is only available in layout files.
- `footer`: A footer. The value is only available in layout files.
- `layout`: A template. The value is only available in layout files.
- `blocks`: All blocks within the current section or block.
        
    





    
## Example

        
            

            The following example is used to render all blocks within the current section.

            
```sline
{{#content "blocks" /}}
```
            

            
        
    
