Skip to main content

PageContent

This is the actual content of the page

type PageContent {
contentAsHtml: String
contentAsString: String!
excerpt(
numberOfCharacters: Int
): String
pageId: ID!
updatedAt: String
}

Fields

PageContent.contentAsHtml ● String scalar

Get the markdown content of the page as parsed HTML. Do not use this field without purifying or sanitizing the HTML in your webapp.

PageContent.contentAsString ● String! non-null scalar

PageContent.excerpt ● String scalar

Get an excerpt of the page content.

PageContent.excerpt.numberOfCharacters ● Int scalar

The number of characters to return, defaults to 200.

PageContent.pageId ● ID! non-null scalar

PageContent.updatedAt ● String scalar

Member of

PublicPage object