For the complete documentation index, see llms.txt. This page is also available as Markdown.

rw.page

The rw.page object provides access to information about the current page where the component is placed.

Properties

Property
Type
Description

id

String

Unique identifier for the page (e.g., "page0")

title

String

The page title

description

String

Page description/meta description

filename

String

The page filename (e.g., "index.html")

ext

String

File extension (e.g., "html")

language

String

Page language code (e.g., "en")

absolutePath

String

Full path to the page

docRootPath

String

Path to document root

projectResourcesPath

String

Path to project resources folder (e.g., "resources")

isFolder

Boolean

Whether this represents a folder

displayInMenu

Boolean

Whether to show in navigation

isDraft

Boolean

Draft pages are not published

icon

Object

Page icon object

Example Object

{
    "id": "page0",
    "title": "About",
    "description": "",
    "filename": "index.html",
    "ext": "html",
    "language": "en",
    "absolutePath": "",
    "docRootPath": "",
    "projectResourcesPath": "resources",
    "isFolder": false,
    "displayInMenu": true,
    "isDraft": false,
    "icon": {}
}

Accessing Page Data

Checking Page Status

Using Page Paths

Passing Page Data to Templates

In templates:

Last updated

Was this helpful?