What Are Page Types?
Page types are templates that define:- Available blocks - Which blocks editors can add to pages
- Required blocks - Blocks that must appear on every page
- Page fields - Metadata like title, description, publish date
- Constraints - What editors can and cannot modify
- URL structure - How pages of this type are accessed
Think of page types as guardrails. They give editors freedom to create content while ensuring designs stay intact and structure remains consistent.
Creating a Page Type
1
Navigate to page types
In your site dashboard, click “Page Types” in the sidebar, then “Create Page Type”.
2
Set basic information
Configure:
- Name: Display name (e.g., “Blog Post”, “Default”)
- Description: Internal description for your reference
- Slug: URL identifier (e.g., “blog-post”, “default”)
3
Configure available blocks
Select which blocks from your component library can be used on pages of this type.
4
Set required blocks (optional)
Mark certain blocks as required if they must appear on every page of this type.
5
Add page fields
Define page-level fields that apply to all pages of this type:
- SEO fields (meta title, description)
- Publishing fields (publish date, author)
- Custom metadata (category, tags, featured image)
Page fields are separate from block fields. They apply to the entire page, not individual blocks.
6
Save the page type
Click “Create” to save your page type. It’s now available for editors to use when creating pages.
Common Page Type Patterns
Blog Post
A typical blog post page type: Available Blocks:- Text (for article content)
- Image (for illustrations)
- Code Block (for code examples)
- Quote (for pull quotes)
title(Text, required) - Post titleauthor(Text) - Author namepublish_date(Date) - Publication datecategory(Select) - Post categorytags(Tags) - Post tagsfeatured_image(Image) - Featured imageexcerpt(Text) - Short descriptionmeta_title(Text) - SEO titlemeta_description(Text) - SEO description
- None (flexibility for different post layouts)
Product Page
An e-commerce product page: Available Blocks:- Hero (with product image)
- Text (for description)
- Image Gallery
- Specifications
- Reviews
- Related Products
title(Text, required) - Product nameprice(Number) - Product pricesku(Text) - SKU codein_stock(Boolean) - Stock statuscategory(Select) - Product categoryfeatured_image(Image) - Main product imagemeta_title(Text) - SEO titlemeta_description(Text) - SEO description
- Hero (must have product image)
Page Fields
Page fields are metadata that applies to the entire page, not individual blocks. Common uses:SEO Fields
Every page type should include SEO fields:meta_title(Text) - Page title for search enginesmeta_description(Text) - Page description for search resultsog_image(Image, optional) - Social sharing image
Publishing Fields
For content with publication workflows:publish_date(Date) - When the page was/will be publishedauthor(Text) - Content authorlast_updated(Date, auto) - Last modification date
Taxonomy Fields
For organizing content:category(Select) - Single categorytags(Tags) - Multiple tagstopic(Select) - Topic classification
Custom Metadata
Any additional data you need:featured(Boolean) - Whether to feature this pagepriority(Number) - Display priorityexternal_url(Text) - Link to external resource
A “Team Member” page type might have fields for: name, role, bio, email, social links, and profile photo. These are page-level because they describe the person, not individual blocks on the page.
Available Blocks
Choosing Which Blocks to Include
Consider what editors need:- Too few blocks: Editors feel constrained, can’t create varied content
- Too many blocks: Overwhelming, harder to find the right block
- Just right: Enough variety for flexibility, but not overwhelming
Rule of thumb: 5-10 blocks per page type is usually optimal. More than 15 blocks can be overwhelming for editors.
Block Organization
Group related blocks in your component library to make selection easier:- Content blocks: Text, Image, Video, Code
- Layout blocks: Card Grid, Columns, Container
- Interactive blocks: Form, Button, CTA
- Specialized blocks: Testimonials, Pricing, FAQ
Required Blocks
Required blocks must appear on every page of a given type. Use them sparingly: Good use cases:- Header block that must appear at the top
- Footer block that must appear at the bottom
- Navigation block for specific page types
- Content blocks (editors need flexibility)
- Multiple blocks (too restrictive)
URL Structure
Page types influence URL structure:Default Behavior
By default, pages follow this pattern:A page of type “blog-post” with slug “my-first-post” would be accessible at
/blog-post/my-first-post.Custom URL Patterns
You can configure custom URL patterns in page type settings:- Prefix: Add a prefix to all pages of this type
- Suffix: Add a suffix to all pages
- Custom pattern: Define your own URL structure
URL patterns are configured at the site level, but page types can have their own defaults.
Page Type Settings
Publishing Workflow
Configure how pages of this type are published:- Draft mode: Pages start as drafts
- Auto-publish: Pages publish immediately when saved
- Scheduled publishing: Allow scheduling future publication
Editor Permissions
Control what editors can do:- Can duplicate pages: Allow editors to clone pages
- Can delete pages: Allow editors to remove pages
- Can change page type: Allow switching between types
Best Practices
1. Start Simple
Begin with essential blocks and fields. You can always add more later:2. Use Descriptive Names
Clear names help editors understand what each page type is for:- ✅ “Blog Post”
- ✅ “Default”
- ✅ “Team Member Profile”
- ❌ “Type 1”
- ❌ “Generic”
3. Document Your Page Types
Add descriptions that explain when to use each type:Blog Post: For articles, news, and blog content. Includes author, publish date, and category fields.
4. Plan for Growth
Consider how page types might evolve:- Will you need more fields later?
- Will editors need additional blocks?
- Are there related page types you’ll create?
5. Test with Editors
Get feedback from content editors:- Are the available blocks sufficient?
- Are page fields clear and useful?
- Is anything missing or confusing?
Advanced Patterns
Conditional Blocks
Some page types benefit from conditional block availability:A “Product” page type might show different blocks based on product category. While Pala doesn’t support conditional blocks directly, you can create separate page types for different product categories.
Nested Page Types
Create page types that reference other page types:A “Category” page type might include a block that displays pages of type “Blog Post” filtered by category.
Editing Page Types
You can edit page types after creation:1
Open page type editor
Go to Page Types → Select the page type you want to edit.
2
Make changes
Update:
- Available blocks (add or remove)
- Required blocks
- Page fields
- Settings
3
Save changes
Click “Save” to update the page type.