Drupal 7 - mpdule invoke on certain pages
===

I am using module invoke to insert a blockinto page.tpl.php The issue is doing it this way I loose the visibility setting you usually get with block, 'only display in the following pages' and it shows on every page. 

Is there a way to do this? I think checking the path using an if statement is a bit crude. Another way?

     $block = module_invoke('views', 'block_view', 'about-block_1');
     render($block['content']);

