-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpage.php
39 lines (39 loc) · 1.41 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
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('head.php');
$this->need('nav.php');
?>
<?php $this->header(); ?>
<div id="pjax">
<header class="intro-header relate" style="background-image: url('<?php $this->options->backgroundImage();?>');">
<div class="mdui-container">
<div class="post-heading" style="text-align:center">
<h1 class="header-title mdui-center">
<?php $this->title() ?>
</h1>
<div class="mdui-center">
<span class="badge mdui-color-indigo-accent"><i class="mdui-icon material-icons index-icon"></i> <time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date('Y-m-d'); ?></time></span>
</div>
</div>
</div>
</header>
<div class="mdui-container blog-content">
<div class="mdui-row">
<div class="mdui-col-md-8 mdui-col-sm-12 mdui-col-offset-md-2">
<article class="mdui-typo" id="post-content">
<?php $this->content(); ?>
</article>
</div>
<div class="mdui-col-md-2 mdui-hidden-sm-down sticky">
<div id="toc"></div>
</div>
</div>
</div>
<div class="mdui-container">
<div class="mdui-row">
<div class="mdui-col-md-8 mdui-col-sm-12 mdui-col-offset-md-2">
<?php $this->need('comments.php'); ?>
</div>
</div>
</div>
<?php $this->need('footer.php'); ?>