<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content after
 *
 * @package My Life
 * @since My Life 1.0
 */
?>

	</div><!-- #main .site-main -->

	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="site-info">
			<?php do_action( 'my_life_credits' ); ?>
			<a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', 'my-life' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'my-life' ), 'WordPress' ); ?></a>
			<span class="sep"> | </span>
			<?php printf( __( 'Theme: %1$s by %2$s.', 'my-life' ), 'My Life', '<a href="http://justintadlock.com" rel="designer">Justin Tadlock</a>' ); ?>
		</div><!-- .site-info -->
	</footer><!-- #colophon .site-footer -->
</div><!-- #page .hfeed .site -->
<?php if ( has_nav_menu( 'subsidiary' ) ) : ?>
	<nav role="navigation" class="site-navigation subsidiary-navigation">
		<h1 class="assistive-text"><?php _e( 'Subsidiary Menu', 'my-life' ); ?></h1>
		<div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'my-life' ); ?>"><?php _e( 'Skip to content', 'my-life' ); ?></a></div>

		<?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'depth' => '1', 'fallback_cb' => false ) ); ?>
	</nav><!-- .site-navigation .subsidiary-navigation -->
<?php endif; ?>
<?php wp_footer(); ?>

</body>
</html>