-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpage.php
34 lines (27 loc) · 849 Bytes
/
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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div class="post-container">
<div class="post-detail gt-bg-theme-color-second">
<article class="gt-post-content">
<h2 class="post-title"><?php $this->title(); ?></h2>
<div class="post-info">
<time class="post-time gt-c-content-color-first">
发布于 · <?php $this->date(); ?> ·
</time>
<?php _e('# '); ?>
<?php $this->category(' # ', true, 'none'); ?>
<?php if (count($this->tags) > 0): ?>
<?php _e('# '); ?>
<?php $this->tags(' # ', true, 'none'); ?>
<?php endif; ?>
</div>
<div class="post-content">
<?php parseContent($this); ?>
</div>
</article>
</div>
<div class="post-detail pl" id="plsx">
<?php $this->need('comments.php'); ?>
</div>
</div>
<?php $this->need('footer.php'); ?>