-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfooter.php
134 lines (119 loc) · 5.56 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<div class="site-footer gt-c-content-color-first">
<div class="slogan gt-c-content-color-first">STAY VIBRANT</div>
<div class="social-container">
<?php if ($this->options->socialHomepage): ?>
<a href="<?php $this->options->socialHomepage(); ?>" target="_blank">
<i class="fas fa-house gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialMastodon): ?>
<!-- Mastodon rel="me" 属性用于验证域名身份 -->
<a rel="me" href="<?php $this->options->socialMastodon(); ?>" target="_blank">
<i class="fab fa-mastodon gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialTwitter): ?>
<a href="<?php $this->options->socialTwitter(); ?>" target="_blank">
<i class="fab fa-x-twitter gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialFacebook): ?>
<a href="<?php $this->options->socialFacebook(); ?>" target="_blank">
<i class="fab fa-facebook gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialWeibo): ?>
<a href="<?php $this->options->socialWeibo(); ?>" target="_blank">
<i class="fab fa-weibo gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialBilibili): ?>
<a href="<?php $this->options->socialBilibili(); ?>" target="_blank">
<i class="fab fa-bilibili gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialYouTube): ?>
<a href="<?php $this->options->socialYouTube(); ?>" target="_blank">
<i class="fab fa-youtube gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialGitHub): ?>
<a href="<?php $this->options->socialGitHub(); ?>" target="_blank">
<i class="fab fa-github gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialGitLab): ?>
<a href="<?php $this->options->socialGitLab(); ?>" target="_blank">
<i class="fab fa-gitlab gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialLinkedIn): ?>
<a href="<?php $this->options->socialLinkedIn(); ?>" target="_blank">
<i class="fab fa-linkedin gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialCoffee): ?>
<a href="<?php $this->options->socialCoffee(); ?>" target="_blank">
<i class="fas fa-coffee gt-c-content-color-first"></i>
</a>
<?php endif; ?>
<?php if ($this->options->socialEMailTo): ?>
<a href="<?php $this->options->socialEMailTo(); ?>" target="_blank">
<i class="fas fa-envelope gt-c-content-color-first"></i>
</a>
<?php endif; ?>
</div>
<div class="footer-info">
<?php if ($this->options->ICPBeiAn): ?>
<p><a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow"><?php $this->options->ICPBeiAn(); ?></a></p>
<?php endif; ?>
<?php if ($this->options->footerContent): $this->options->footerContent(); ?>
<?php endif; ?>
</div>
<div>
Theme by <a href="https://soraharu.com/" target="_blank">XiaoXi</a> | Powered by <a href="https://typecho.org/" target="_blank">Typecho</a> | <a href="<?php $this->options->feedUrl(); ?>" target="_blank">RSS</a>
</div>
</div>
<?php if ($this->options->consolePanelBan === 'enable'): ?>
<script>
// default options
ConsoleBan.init()
// custom options
ConsoleBan.init({
redirect: '<?php $this->options->themeUrl("console.html"); ?>'
})
</script>
<?php endif; ?>
<?php if ($this->options->themeAutoDark === 'enable'): ?>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/[email protected]/assets/js/match-dark-mode.min.js"></script>
<?php endif; ?>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/[email protected]/assets/js/img-lazy.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/[email protected]/assets/js/moment.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script>
<script>mermaid.init({noteMargin: 10}, ".lang-mermaid");</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/nprogress.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/[email protected]/assets/css/noticejs.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/notice.min.js"></script>
<script type="text/javascript">
new NoticeJs({
text: '页面加载完成~',
position: 'topRight',
animation: {
open: 'animated bounceInRight',
close: 'animated bounceOutLeft'
}
}).show();
</script>
<?php if (!empty($this->options->umamiUrl) && !empty($this->options->umamiId)): ?>
<script async src="<?php $this->options->umamiUrl(); ?>" data-website-id="<?php $this->options->umamiId(); ?>" data-do-not-track="<?php $this->options->umamiDoNotTrack(); ?>"></script>
<?php endif; ?>
<?php if ($this->options->returnTop === 'enable'): ?>
<script defer type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/[email protected]/assets/js/lamu-leimu.min.js"></script>
<?php endif; ?>
</div>
</div>
<?php $this->footer(); ?>
</body>
</html>