Multiple section templates

What is the proper way to render different templates in different sections?

The only way I can think to do it is to use section metadata in the template, and then say “if section name == “blah”, render this, else that”. That seems easy enough, but is there another way?

You can set the template to use in the front-matter of the section, template = "blabla.html"