Skip to main content
2 of 2
Rephrased title as a question
Lindsey D
  • 24.1k
  • 5
  • 54
  • 111

How can I make a template output its own filename?

Is it possible to output the template name being used? Using a global variable or something similar? I am wanting to check which template is being used in a conditional.

Gareth
  • 1.6k
  • 2
  • 14
  • 35