-
Notifications
You must be signed in to change notification settings - Fork 9
/
footer.ftl
93 lines (85 loc) · 2.91 KB
/
footer.ftl
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
</div><!-- end #body -->
<footer id="footer" role="contentinfo">
<div class="container-fluid">
<div class="row">
<div class="col-12">
© ${.now?string('yyyy')} <a href="${blog_url!}">${blog_title!}</a>.
Using <a target="_blank" href="https://halo.run">Halo</a> & <a target="_blank" href="https://yumoe.com/">Story</a>.
</div>
<div class="col-12">
<@global.footer />
</div>
</div>
</div>
</footer>
<script src="//cdnjs.loli.net/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="${theme_base!}/assert/js/prism.js"></script>
<script src="${theme_base!}/assert/js/zoom-vanilla.min.js"></script>
<script>
window.onload=function(){
if (window.location.hash!='') {
var i=window.location.hash.indexOf('#comment');
var ii=window.location.hash.indexOf('#respond-post');
if (i != '-1' || ii != '-1') {
document.getElementById('btn-comments').innerText='hide comments';
document.getElementById('comments').style.display='block';
}
}
}
function isMenu(){
if(document.getElementById('menu-1').style.display=='inline'){
$('#search-box').fadeOut(200);
$('#menu-page').fadeOut(200);
$('#menu-1').fadeOut(500);
$('#menu-2').fadeOut(400);
$('#menu-3').fadeOut(300);
} else {
$('#menu-1').fadeIn(150);
$('#menu-2').fadeIn(150);
$('#menu-3').fadeIn(150);
}
}
function isMenu1(){
if(document.getElementById('menu-page').style.display=='block'){
$('#menu-page').fadeOut(300);
} else {
$('#menu-page').fadeIn(300);
}
}
function isMenu2(){
if(document.getElementById('torTree')){
if(document.getElementById('torTree').style.display=='block'){
$('#torTree').fadeOut(300);
} else {
$('#torTree').fadeIn(300);
}
}
}
function isMenu3(){
if(document.getElementById('search-box').style.display=='block'){
$('#search-box').fadeOut(300);
} else {
$('#search-box').fadeIn(300);
}
}
function isComments(){
if(document.getElementById('btn-comments').innerText=='show comments'){
document.getElementById('btn-comments').innerText='hide comments';
document.getElementById('comments').style.display='block';
} else {
document.getElementById('btn-comments').innerText='show comments';
document.getElementById('comments').style.display='none';
}
}
function Search404(){
$('#menu-1').fadeIn(150);
$('#menu-2').fadeIn(150);
$('#menu-3').fadeIn(150);
$('#search-box').fadeIn(300);
}
function goBack(){
window.history.back();
}
</script>
</body>
</html>