mirror of
https://ghproxy.net/https://github.com/AlxMedia/agnar.git
synced 2025-08-27 01:25:45 +08:00
Initial commit
This commit is contained in:
commit
89f75436bc
359 changed files with 82992 additions and 0 deletions
39
index.php
Normal file
39
index.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php get_header(); ?>
|
||||
<?php get_template_part('inc/featured'); ?>
|
||||
|
||||
<div class="container-inner">
|
||||
<div class="flex-wrapper">
|
||||
<div class="flex-group flex-left">
|
||||
|
||||
<?php get_template_part('inc/page-title'); ?>
|
||||
<?php get_template_part('inc/front-widgets-top'); ?>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( get_theme_mod('blog-layout','blog-grid') == 'blog-grid' ) : ?>
|
||||
<ul class="flex-contain group">
|
||||
<?php while ( have_posts() ): the_post(); ?>
|
||||
<?php get_template_part('content'); ?>
|
||||
<?php endwhile; ?>
|
||||
</ul><!--/.flex-contain-->
|
||||
<?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/front-widgets-bottom'); ?>
|
||||
<?php get_template_part('inc/pagination'); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!--/.flex-group-->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
</div><!--/.flex-wrapper-->
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
Loading…
Add table
Add a link
Reference in a new issue