Overview
The Pages module allows you to create and manage individual website pages using customizable templates. Build complete pages with structured content, SEO metadata, and publish control.Pages are different from blog posts - they’re for static website content like About Us, Services, Contact pages, etc.
Key Features
Template-Based
Use pre-defined templates for consistent page layouts
SEO Metadata
Set custom meta titles and descriptions for each page
Publish Control
Publish or unpublish pages with a single toggle
JSON Content
Store flexible content structures in JSON format
Page Structure
Creating Pages
Fill Page Details
- Title: Page name
- Slug: URL-friendly identifier
- Template: Select page template
- Meta Title: SEO title
- Meta Description: SEO description
- Content JSON: Structured content data
- Published: Check to make page live
Templates
Pages use templates from the Templates module:pages.php
SEO Metadata
pages.php
Publishing Control
pages.php
- Published: Page is live on website
- Unpublished: Page is draft/hidden
Exporting Pages
Export published pages to static HTML:pages.php
Database Table
Table:cms_pages
| Column | Type | Description |
|---|---|---|
id | integer | Primary key |
title | text | Page title |
slug | text | URL slug |
template_id | integer | Template FK |
meta_title | text | SEO title |
meta_description | text | SEO description |
content | jsonb | Structured content |
is_published | boolean | Publish status |
created_at | timestamptz | Created date |
updated_at | timestamptz | Modified date |
Next Steps
Templates
Design page templates
SEO
Configure SEO settings