-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
54 lines (38 loc) · 1.09 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php get_header(); ?>
<main class="site-main">
<?php if(have_posts()){ ?>
<?php while(have_posts()) { the_post(); ?>
<div class="banner-wrapper">
<?php get_template_part('library/banner','maker'); ?>
</div><!-- banner-wrapper -->
<div class="site-content">
<section class="layout">
<div class="primary">
<article class="hentry">
<header class="article-title">
<a href="<?php the_permalink(); ?>">
<h3><?php the_title(); ?></h3>
</a>
</header>
<main class="article-body">
<?php the_content(); ?>
</main>
</article>
</div><!-- primary -->
<div class="secondary">
<?php get_sidebar(); ?>
</div><!-- secondary -->
</section>
</div>
<?php } ?>
<?php } else { ?>
<div class="site-content">
<section class="layout">
<div class="secondary">
<?php get_sidebar(); ?>
</div><!-- secondary -->
</section>
</div>
<?php } ?>
</main>
<?php get_footer(); ?>