| name | add-template |
| description | Create or edit Flint Static page templates (HTML with {{tag}} placeholders). Use when adding new page layouts or modifying the structural skeleton of pages. |
Add / Edit a Template
Create or modify HTML page templates in themes/default/templates/. Templates define page structure and layout using {{tag}} placeholders — no TypeScript needed.
Trigger Phrases
- "Create a new template for [layout]"
- "Add a [sidebar / full-width / article] layout"
- "Change the page structure for [page type]"
- "Move the navigation to the side"
- "Make a two-column layout template"
- "Add a new page layout"
- "Create a template that shows [component] after the content"
When to Use
- Adding a new page layout (sidebar, full-width, article, landing page)
- Modifying where navigation, content, or footer appear on a page
- Composing existing components into a new arrangement
Procedure
1. Check existing templates
Before creating a new template, check themes/default/templates/ — reuse or copy an existing one if close enough.
| Name | Purpose |
|---|
default | Standard page (nav, content, label footer) |
blank | Minimal shell (content + scripts only) |
blog-post | Article layout with byline header |
shop | Shop layout with cart widget |
agent-info | Two-column with sidebar (skills page) |