What Are Paragraphs?
Paragraphs are reusable content blocks that can be inserted into various pages. Instead of copying the same content across multiple pages, you create a paragraph once and embed it using a CMS tag.
Key Features
- Paragraph code — a unique identifier used to reference the paragraph in templates and pages
-
Box code (box_code) — an optional identifier that allows inserting the paragraph with the tag
<cms type="box" id="code"></cms> - Markdown or HTML content — the system automatically detects the content format (GitHub Flavored Markdown or HTML)
- Liquid template — paragraph content supports Liquid variables and logic
- Site assignment — a paragraph can be global or assigned to a specific site
- Custom template — a paragraph can have a dedicated rendering template
Inserting a Paragraph on a Page
In the page or template content, use the tag:
<cms type="box" id="my-paragraph"></cms>
The system will replace the tag with the content of the paragraph with the given box_code. This lets you centrally manage repeating blocks (e.g., footer, banner, legal notice) — a change in the paragraph automatically updates all pages.
Preview
Each paragraph has a rendered HTML preview available to check how it will look on the page.