<?php get_header(); ?>

	<div id="primary" class="content-area full-width clear">

		<main id="main" class="site-main clear">

			<div id="recent-content">

			<?php if ( is_active_sidebar( 'homepage' ) ) { ?>

				<?php dynamic_sidebar( 'homepage' ); ?>

			<?php } else { ?>

				<div class="notice entry-content">
					<p><?php echo __('请将“首页链接模块”和“广告”小工具添加到<strong>首页模块</strong>区域。', 'daohang'); ?></p>

					<a href="<?php echo home_url(); ?>/wp-admin/widgets.php" target="_blank"><?php echo __('好的，我现在就去设置 &raquo;', 'daohang'); ?></a>  | <a href="<?php echo get_template_directory_uri(); ?>/assets/img/how-to-widgets.png" target="_blank"><?php echo __('教我如何设置 &raquo;', 'daohang'); ?></a>
				</div>

			<?php } ?>							
			
			</div><!-- #recent-content -->		

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

	</div><!-- #primary -->

<?php get_footer(); ?>
