2020-03-11 14:43:30 +01:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
|
|
|
<div class="container-inner">
|
|
|
|
<div class="flex-wrapper">
|
|
|
|
<div class="flex-group flex-left">
|
|
|
|
|
|
|
|
<?php get_template_part('inc/page-title'); ?>
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<?php if ( get_theme_mod('blog-layout','blog-grid') == 'blog-grid' ) : ?>
|
2022-08-25 18:14:55 +02:00
|
|
|
<ul class="grid-contain">
|
2020-03-11 14:43:30 +01:00
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content'); ?>
|
|
|
|
<?php endwhile; ?>
|
2022-08-25 18:14:55 +02:00
|
|
|
</ul><!--/.grid-contain-->
|
2020-03-11 14:43:30 +01:00
|
|
|
<?php elseif ( get_theme_mod('blog-layout','blog-grid') == 'blog-list' ) : ?>
|
|
|
|
<ul class="flex-list group">
|
|
|
|
<?php while ( have_posts() ): the_post(); ?>
|
|
|
|
<?php get_template_part('content-list'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</ul><!--/.flex-list-->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php get_template_part('inc/pagination'); ?>
|
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div><!--/.flex-group-->
|
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
|
|
|
|
|
|
|
</div><!--/.flex-wrapper-->
|
|
|
|
</div><!--/.container-inner-->
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|
|
|
|
|