Page References

Pull a sibling page's title and content into the prompt with an @page:// reference – the AI model sees structured cross-page context.

Use page references when the AI model needs full content from another page – product specs, prior posts, sibling articles. For values inside the same page, use placeholders instead.

Syntax

A page reference uses the @page:// prefix followed by the Kirby page ID:

@page://page-id

For example, @page://blog/my-post or @page://about. Page references are highlighted in blue in the prompt editor.

A page reference must not start inside a word – see@page://about stays plain text. Punctuation around it is fine, so "@page://about" resolves. A page reference built from a placeholder, like @page://{field}, stays plain text too.

Inserting via the Toolbar

Use the snippet/placeholder dropdown button in the prompt dialog toolbar and select Include page. This opens Kirby's page picker, and selected pages are inserted at the current cursor position.

Kirby Panel
Summarize "{title}" in a meta description (max 155 characters). Include the main benefit and end with a subtle call-to-action. No quotes. This is the page: {content}
Preview

Summarize "Our Studio" in a meta description (max 155 characters). Include the main benefit and end with a subtle call-to-action. No quotes. This is the page: [ { "content": { "level": "h1", "text": "A studio for editorial design and slow websites" }, "type": "heading" }, { "content": { "text": "We are six people in a former print shop in Leipzig. We build identities, books and the websites that carry them. …" }, "type": "text" } ]


Manual Typing

You can also type @page://... directly in the prompt editor. Syntax highlighting appears as you type.

How It Works

When the prompt is submitted, referenced page IDs are extracted from the prompt text. Each page's title and content are fetched via Kirby's API and appended to the prompt in <reference_page> XML blocks. Duplicate references are resolved automatically.

A page that cannot be read – deleted, or outside your permissions – is left out of the context instead of failing the run. A browser console warning names the affected IDs.

For example, if your prompt contains:

Compare the features of these two products:
@page://products/basic
@page://products/pro

The AI model receives your prompt text along with the resolved content of both pages as structured context.

Page references remain visible in the prompt text. The AI model receives both the references and the resolved page content.

Example Use Case

Generate a comparison or summary that references content from other pages:

Compare the features of these two products:
@page://products/basic
@page://products/pro

Or pull in context from a related page while writing:

Write a blog post introduction that references our company mission:
@page://about
For reusable prompt instructions that share the same @…:// reference syntax, see Skills.