I am using this procedure to use a base template which the other templates can derive from.
How can I create multiple base templates?
I am using this procedure to use a base template which the other templates can derive from.
How can I create multiple base templates?
Just register them both:
And then choose which to use in your template for each page:
I believe a template doesn't have to be the whole HTML element, so you could instead expand 2 macros into the same final template