I'd like to grab the current page name and pull that specific template part per page. This way I can just set up a generic tier-1 template that calls in a secondary section based on the current page's title (without having to use a bunch of conditional statements). So, it'd look like this...
<?php get_template_part( 'section', '$pagename' ); ?>
Pulling in the file: section-pagename.php (eg., section-about.php).
Is this possible? I wonder if anyone has used this approach. I think it'd be a really efficient way of templating.