farallon/page.php

20 lines
659 B
PHP
Raw Normal View History

2024-05-17 15:47:27 +08:00
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
2024-05-17 16:02:08 +08:00
<section class="site--main">
2024-05-17 15:47:27 +08:00
<header class="archive--header">
<h1 class="post--single__title"><?php $this->title() ?></h1>
</header>
<article class="post--single">
<div class="graph u-marginBottom30">
<?php $this->content(); ?>
</div>
2024-05-17 18:23:58 +08:00
<!-- 判断如果禁止评论则不显示评论的div -->
<?php if ($this->allow('comment')): ?>
<?php $this->need('comments.php'); ?>
<?php endif; ?>
<!-- 可以使用第三方评论-->
<?php $this->options->twikoo(); ?>
2024-05-18 15:06:04 +08:00
</article>
2024-05-17 16:02:08 +08:00
</section>
2024-05-17 15:47:27 +08:00
<?php $this->need('footer.php'); ?>