This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfooter.php
124 lines (109 loc) · 4.84 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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<div class="site-footer gt-c-content-color-first">
<div class="slogan gt-c-content-color-first">Keep Alive.</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->socialTwitter): ?>
<a href="<?php $this->options->socialTwitter(); ?>" target="_blank">
<i class="fab fa-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://xiamuyourenzhang.cn/" target="_blank">Xiamu</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 == 'able'): ?>
<script>
// default options
ConsoleBan.init()
// custom options
ConsoleBan.init({
redirect: '<?php $this->options->themeUrl("console.html"); ?>'
})
</script>
<?php else: ?>
<?php endif; ?>
<script type="text/javascript" src="<?php $this->options->themeUrl("js/img-lazy.js"); ?>"></script>
<script type="text/javascript" src="<?php $this->options->themeUrl("js/moment.js"); ?>"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>mermaid.init({noteMargin: 10}, ".lang-mermaid");</script>
<?php if ($this->options->top == 'able'): ?>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/fz6m/[email protected]/dist/lamu-leimu.min.js"></script>
<?php else: ?>
<?php endif; ?>
<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/xiamuguizhi/oss/css/noticejs1.min.css?ver=v0.0.3" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/xiamuguizhi/oss/css/animate.min.css?ver=v0.0.1" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/xiamuguizhi/oss/js/notice.min.js"></script>
<script type="text/javascript">
new NoticeJs({
text: '页面加载完成~',
position: 'topRight',
animation: {
open: 'animated bounceInRight',
close: 'animated bounceOutLeft'
}
}).show();
</script>
</div>
</div>
<?php $this->footer(); ?>
</body>
</html>