class Headless (View source)

The Headless class provides helpers for the headless mode.

Methods

static string
getTemplate()

Checks whether a custom headless template exists and returns its path.

Details

static string getTemplate()

Checks whether a custom headless template exists and returns its path.

In case there is no custom template, the path to the default template is returned.

Return Value

string The path to the template file