2024-06-27 19:59:47 +08:00
|
|
|
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
2024-07-01 10:03:24 +08:00
|
|
|
<?php $this->need('header.php'); ?>
|
2024-06-30 07:43:57 +08:00
|
|
|
<div class="main">
|
2024-06-27 19:59:47 +08:00
|
|
|
<div class="container">
|
|
|
|
<article class="post-wrap page">
|
|
|
|
<div class="post-wrap">
|
|
|
|
<h2 class="post-title">- <?php $this->title() ?> -</h2>
|
|
|
|
<section class="post-content">
|
|
|
|
<?php $this->content(); ?>
|
|
|
|
</section>
|
|
|
|
<!-- 判断如果允许评论则显示评论的div -->
|
|
|
|
<?php if ($this->allow('comment')): ?>
|
|
|
|
<!-- 如果启用了 twikoo 选项,显示 twikoo 评论系统 -->
|
|
|
|
<?php if ($this->options->twikoo): ?>
|
|
|
|
<?php $this->options->twikoo(); ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<!-- 否则调用自带的评论模板 -->
|
|
|
|
<?php $this->need('comments.php'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
</article>
|
2024-06-30 07:43:57 +08:00
|
|
|
</div></div>
|
2024-07-01 10:03:24 +08:00
|
|
|
<?php $this->need('footer.php'); ?>
|
2024-06-27 19:59:47 +08:00
|
|
|
|