Get page category
page.getKind()
Get the category of the page.
Syntax
Returns
Promise<string>
A promise that resolves to a string indicating the kind of the current page. The possible values are:
- 'static'
- 'ecommerce'
- 'cms'
- 'userSystems'
- 'utility'
- 'staticTemplate'