Homepage

PageFormat

Last edit: Oct 13, 2026

Output format of a page, layout or partial; it sets the response content type
and the URL extension the page responds to (for example a json page responds to /slug.json)

enum PageFormat {
  css
  csv
  html
  ics
  js
  json
  pdf
  rss
  svg
  text
  txt
  xml
}

Values

css

css format

csv

csv format

html

html format

ics

ics format

js

js format

json

json format

pdf

pdf format

rss

rss format

svg

svg format

text

text format

txt

txt format

xml

xml format

Questions?

We are always happy to help with any questions you may have.

contact us