-
Notifications
You must be signed in to change notification settings - Fork 60
/
page.php
42 lines (38 loc) · 1.37 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
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('layout/_partial/head.php');
?>
<body class="mdui-drawer-body-left">
<?php $this->need('layout/_partial/background.php'); ?>
<div id="nexmoe-header">
<?php $this->need('layout/_partial/header.php'); ?>
</div>
<div id="nexmoe-content">
<div class="nexmoe-primary">
<div class="nexmoe-post">
<div class="nexmoe-post-cover mdui-ripple">
<?php if ($this->fields->Cover) { ?>
<img src="<?php echo $this->fields->Cover ?>">
<?php } else { ?>
<img src="<?php echo $this->options->background ?>">
<?php } ?>
<h1><?php $this->title() ?></h1>
</div>
<div class="nexmoe-post-meta">
<a><i class="nexmoefont icon-calendar-fill"></i><?php $this->date('Y年n月d日'); ?></a>
<a><?php artCount($this->cid); ?> 汉字</a>
<a><?php post_view($this); ?> 围观</a>
<a><?php $this->commentsNum('%d'); ?> 评论</a>
</div>
<article>
<?php $this->content(''); ?>
</article>
<div id="comments">
<?php $this->need('comments.php'); ?>
</div>
</div>
</div>
</div>
<?php $this->need('layout/_partial/after-footer.php'); ?>
</body>
</html>