-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.php
24 lines (24 loc) · 1.05 KB
/
post.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div class="article-list">
<div class="article active">
<a class="title" href="<?php $this->permalink() ?>"><?php $this->title() ?></a>
<div class="meta">
<div class="time me-20"><?php $this->date(); ?></div>
<div class="type me-20"><?php $this->category(','); ?></div>
</div>
<div class="content markdown-body">
<?php $this->content(); ?>
</div>
</div>
<div class="keywords mb-30">
<?php _e('标签:'); ?><span class="tag"><?php $this->tags('</span><span class="tag">', true, 'none'); ?></span>
<script>
var cid = location.href.match(/\/archives\/(\d+)\//)[1]
document.write('<a href="https://apee.top/admin/write-post.php?cid=' + cid + '" style="margin-left: 15px; display: inline-block;">编辑文章</a>')
</script>
</div>
<?php $this->need('comments.php'); ?>
</div>
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>