template

template returns the name of the template used to render the current page, with the .liquid extension omitted.

Input
If you're on the index.liquid template
{{ template }}
Output
index

results matching ""

    No results matching ""