jahia-dev-create-page-template

Scaffold Jahia page templates with Areas and AbsoluteAreas.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Jahia/formidable --skill jahia-dev-create-page-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jahia-dev-create-page-template
Source: https://github.com/Jahia/formidable/tree/main/.agents/skills/jahia-dev-create-page-template
Command: npx skills add https://github.com/Jahia/formidable --skill jahia-dev-create-page-template

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and reuseable consistent page templates in Jahia, with Areas and AbsoluteAreas, to streamline site structure and editorial workflows.

Core Features & Use Cases

  • Supports full-page templates registered as jnt:page with componentType "template".
  • Includes Areas (per-page content) and AbsoluteAreas (site-wide content like header/footer) to enforce layout consistency across pages.
  • Provides guidance for building starter templates and pre-creating page structure via import.xml.

Quick Start

Create the template file under src/templates/Page with a chosen name, defining Area and AbsoluteArea usage as shown.

Frequently Asked Questions about jahia-dev-create-page-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a reusable page template in Jahia?

To create a reusable Jahia page template, scaffold a file under src/templates/Page using componentType template and nodeType jnt:page, then define Areas and AbsoluteAreas to establish consistent layout regions across multiple pages.

What is the difference between Areas and AbsoluteAreas in Jahia CMS?

Areas in Jahia hold per-page content editable on individual pages, while AbsoluteAreas manage site-wide content like headers and footers, enforcing layout consistency across all pages that use the same template.

How do I add a header and footer to a Jahia page template?

Add a header and footer to a Jahia page template by defining AbsoluteAreas within your jnt:page template file, which allows shared site-wide components to display consistently across every page using that template.

Can I pre-define page structure when creating a Jahia template?

Yes, you can pre-define page structure when creating a Jahia template by including an import.xml file, which provides guidance for building starter templates and automatically scaffolding the initial page content structure.

What frontmatter is required for a Jahia page template?

Jahia page templates require frontmatter containing a name and description, along with componentType set to template and nodeType set to jnt:page to ensure the system correctly registers and identifies the layout.

Why use AbsoluteAreas for shared components in Jahia web CMS?

Use AbsoluteAreas in Jahia web CMS to manage shared components like headers and footers site-wide, ensuring editorial workflows maintain strict layout consistency without requiring manual updates on every individual page.