This commit is contained in:
浪子 2024-06-30 17:25:01 +08:00
parent 90328ff4ad
commit 5cccb0021f
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<footer id="footer" class="footer"> <footer id="footer" class="footer">
<?php echo allwords(); ?>
<div class="copyright"> <div class="copyright">
<span>© <?php $this->options->title() ?> | Powered by <a href="https://typecho.org" target="_blank">Typecho</a> | 移植 by <a href="https://imsun.org" target="_blank">Sun</a> </span> <span>© <?php $this->options->title() ?> | Powered by <a href="https://typecho.org" target="_blank">Typecho</a> | 移植 by <a href="https://imsun.org" target="_blank">Sun</a> </span>
</div> </div>

View File

@ -75,6 +75,8 @@
</article> </article>
</div> </div>
</div> </div>
<?php $this->need('part/toc.php'); ?> <?php if ($this->options->showtoc): ?>
<?php $this->need('part/toc.php'); ?>
<?php endif; ?>
<?php $this->need('part/footer.php'); ?> <?php $this->need('part/footer.php'); ?>