I'm renovating some of my regular notices to be a bit less error-prone by turning them into templates called within a notice.
This lets me turn a bit of repetitive copy and pasting into a single variable.
My question is, can the name of the Notice be accessed from the embedded template?
For this particular set of five notices, this would make it easier to run one larger template and output content based on the name of the Notice calling it.
This lets me turn a bit of repetitive copy and pasting into a single variable.
My question is, can the name of the Notice be accessed from the embedded template?
For this particular set of five notices, this would make it easier to run one larger template and output content based on the name of the Notice calling it.