forked from awinds/xaink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
27 lines (26 loc) · 1.45 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!-- 右下角按钮 -->
<div class="xa-fixed-btn">
<!-- 返回顶部按钮 -->
<button class="hidden bg-blue-500 text-white dark:bg-gray-600 px-2 py-1.5 rounded-md hover:focus:outline-none" id="backToTop" title="返回顶部"><i class="ti ti-chevron-up"></i></button>
</div>
<!-- 页脚 -->
<footer id="footer" class="flex items-center">
<div class="xa-footer mx-auto w-full flex justify-center flex-col lg:flex-row items-center text-gray-400 dark:bg-gray-900 dark:border-gray-600 lg:justify-between lg:flex lg:px-32">
<div class="space-x-2 flex flex-col justify-center items-center lg:flex-row lg:justify-start">
<span>© <?php echo date("Y", time());?> <?php $this->options->title(); ?>.</span>
<?php if($this->options->siteBeiAn): ?>
<span><a rel="external nofollow" target="_blank" href="https://beian.miit.gov.cn/"><?php $this->options->siteBeiAn(); ?></a></span>
<?php endif ?>
<?php if($this->options->siteFooterHtml): ?>
<span><?php $this->options->siteFooterHtml(); ?></span>
<?php endif ?>
</div>
<div class="px-2">
<span>Powered by <a href="http://typecho.org" rel="external nofollow" target="_blank">Typecho</a>. Theme by <a rel="external nofollow" href="https://www.xa.ink" target="_blank">XaInk</a></span>
</div>
</div>
</footer>
</body>
<?php $this->footer(); ?>
</html>