forked from CaiJimmy/Casper-Typecho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
25 lines (24 loc) · 1.06 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
<?php $this->need('header.php'); ?>
<header class="main-header post-head <?php if ($this->options->background): ?>" style="background-image: url(<?php $this->options->background() ?>)<?php else: ?>no-cover<?php endif; ?>">
<nav class="main-nav overlay clearfix">
<?php if ($this->options->logo): ?>
<a class="blog-logo" href="<?php $this->options->siteUrl(); ?>"><img src="<?php $this->options->logo() ?>)">" alt="Blog Logo" /></a>
<?php endif; ?>
<a class="menu-button icon-menu" href="#">
<span class="word">Menu</span>
</a>
</nav>
</header>
<main class="content" role="main">
<article class="post" id="<?php $this->cid() ?>">
<header class="post-header">
<h1 href="<?php $this->permalink() ?>" class="post-title">
<?php $this->title() ?>
</h1>
</header>
<section class="post-content">
<?php $this->content(); ?>
</section>
</article>
</main>
<?php $this->need('footer.php'); ?>