mirror of https://github.com/IoTcat/ushio-img.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
660 B
21 lines
660 B
4 years ago
|
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||
|
<?php $this -> need('header.php'); ?>
|
||
|
|
||
|
<main>
|
||
|
<div class="wrap min">
|
||
|
<section class="page-title">
|
||
|
<h2><?php $this -> title() ?></h2>
|
||
|
<?php if($this -> authorId == $this -> user -> uid): ?>
|
||
|
<a class="edit-link" href="<?php $this -> options -> adminUrl(); ?>write-post.php?cid=<?php echo $this -> cid; ?>" target="_blank">编辑</a>
|
||
|
<?php endif; ?>
|
||
|
</section>
|
||
|
<article class="page-content">
|
||
|
<?php $this -> content(); ?>
|
||
|
</article>
|
||
|
|
||
|
<?php $this -> need('comments.php'); ?>
|
||
|
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
<?php $this -> need('footer.php'); ?>
|