2015-09-26 04:08:27 +02:00
|
|
|
<?php
|
|
|
|
get_header();
|
|
|
|
get_template_part( 'template', 'blogheader' );
|
|
|
|
echo '<div class="centered-content-padding">';
|
|
|
|
if ( have_posts() ) {
|
2015-12-17 15:55:34 +01:00
|
|
|
while ( have_posts() ) {
|
|
|
|
the_post();
|
2015-09-26 04:08:27 +02:00
|
|
|
|
2015-12-17 15:55:34 +01:00
|
|
|
get_template_part( 'content', 'blog' );
|
2015-09-26 04:08:27 +02:00
|
|
|
|
2015-12-17 15:55:34 +01:00
|
|
|
}
|
2015-09-26 04:08:27 +02:00
|
|
|
}
|
|
|
|
else {
|
2015-12-17 15:55:34 +01:00
|
|
|
get_template_part( 'content', 'noposts' );
|
2015-09-26 04:08:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
echo '</div>';
|
|
|
|
get_footer();
|
2015-12-17 15:55:34 +01:00
|
|
|
?>
|