2013-08-15 05:13:29 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying the home page.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fourteen
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
<div class="front-page-content-wrapper">
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
<?php
|
|
|
|
if ( twentyfourteen_has_featured_posts() )
|
|
|
|
get_template_part( 'featured-content' );
|
|
|
|
?>
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-10-09 18:27:09 +02:00
|
|
|
<div id="primary" class="content-area">
|
2013-09-20 20:22:09 +02:00
|
|
|
<div id="content" class="site-content" role="main">
|
|
|
|
<?php
|
|
|
|
if ( have_posts() ) :
|
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
get_template_part( 'content', get_post_format() );
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
comments_template();
|
|
|
|
endwhile;
|
|
|
|
twentyfourteen_paging_nav();
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
else :
|
|
|
|
get_template_part( 'content', 'none' );
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</div><!-- #content .site-content -->
|
|
|
|
</div><!-- #primary .content-area -->
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
<?php get_sidebar( 'ephemera' ); ?>
|
2013-08-15 05:13:29 +02:00
|
|
|
|
2013-09-20 20:22:09 +02:00
|
|
|
</div><!-- .front-page-content-wrapper -->
|
2013-08-15 05:13:29 +02:00
|
|
|
|
|
|
|
<?php
|
|
|
|
get_sidebar();
|
|
|
|
get_footer();
|