重新整理了一下目录,更改了部分内容的实现方式
This commit is contained in:
浪子
2025-03-17 08:13:35 +08:00
parent 81af4b6590
commit 5c91195745
39 changed files with 461 additions and 297 deletions
+6 -6
View File
@@ -5,7 +5,7 @@
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<?php $this->need('./module/header.php'); ?>
<section class="site--main">
<header class="archive--header">
<h1 class="post--single__title"><?php $this->title() ?></h1>
@@ -18,12 +18,12 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<span class="sitename"><strong>{name}</strong>{title}</span>
</a></li>');
?>
</ul>
</ul>
</div>
<article class="post--single">
<?php if ($this->allow('comment')): ?>
<?php $this->need('comments.php'); ?>
<?php endif; ?>
<?php if ($this->allow('comment')): ?>
<?php $this->need('./module/comments.php'); ?>
<?php endif; ?>
</article>
</section>
<?php $this->need('footer.php'); ?>
<?php $this->need('./module/footer.php'); ?>