← All types
Ob Object

PortalSitePage

One page of a site.

Fields

route

String!Non-null

URL pattern of the page, such as / or /products/:slug.

The page's DataXML template.

server

StringNullable

The page's server Lua, or null when it has none; its exports are the page's handlers.

The handlers the page declares, local to this page.

style

StringNullable

The page's CSS, or null when it has none.

Referenced by (1)
Exact type SDL
"""One page of a site."""
type PortalSitePage {
  """URL pattern of the page, such as `/` or `/products/:slug`."""
  route: String!
  """The page's DataXML template."""
  template: String!
  """
  The page's server Lua, or null when it has none; its exports are the page's handlers.
  """
  server: String
  """The handlers the page declares, local to this page."""
  handlers: [PortalSitePageHandler!]!
  """The page's CSS, or null when it has none."""
  style: String
}