Is there a way to get:
- current tpl name
- parent tpl name
in a helper?
Is there a way to get:
// Current template name
Template.instance().view.name
// Parent template name
Template.instance().view.parentView.name
No problem. Check out the Template.instance()
object, there’s tons of stuff in there.