I'm creating a custom theme in Drupal 7 but I'm having trouble getting it to render the menu
I'm using the following code in page-front.tpl.php
<?php if ($page['main_menu']): ?>
<div id="main-menu"><div class="section clearfix">
<?php print render($page['main_menu']); ?>
</div></div>
But it does not render anything. I have double checked that a menu exists.