-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpage-zp.php
50 lines (43 loc) · 1.02 KB
/
page-zp.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
/**
* 作品列表
*/
$this->need('header.php');
?>
<style>
.zpmain {
-ms-flex: 70%; /* IE10 */
flex: 70%;
background-color: white;
padding: 20px;
border-radius: 10px;
}
</style>
<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">
<div class="zpmain">
<?php parseContent($this); ?>
</div>
</div>
</article>
</div>
<div class="post-detail pl" id="plsx">
<?php $this->need('comments.php'); ?>
</div>
</div>
<?php $this->need('footer.php'); ?>