The template object

The template object contains information about the currently active template.

Outputting the template object itself returns the file name of the template used to render the current page, with the .liquid or .json extension omitted.

The template object has the following attributes: