Container
container is a block shortcode for custom content. Standard landing sections already expose their own container parameter, so you usually do not wrap section shortcodes with this.
When to Use
Use container for arbitrary Markdown, custom HTML, or one-off content that should align with the same width scale as landing sections.
Usage
{% container(max_width="sm") %}
Custom content goes here.
{% end %}Live Example
This custom block is constrained with the container shortcode.
Parameters
| Parameter | Description |
|---|---|
max_width | Maximum content width: xs, sm, md, lg, xl, or full. |
padded | Set to true to add horizontal px-4 padding. |
align | Horizontal alignment: left, center, or right. |
class | Additional CSS classes on the container. |