-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfooter.html
39 lines (37 loc) · 1.25 KB
/
footer.html
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
<!--
The Footer
-->
<footer class="d-flex w-100 justify-content-center">
<div class="d-flex justify-content-between align-items-center">
<div class="footer-left">
<p class="mb-0">
© 2021
<a href="">Ctaoist</a>.
<span data-toggle="tooltip" data-placement="top"
title="除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。">保留部分权利。</span>
</p>
</div>
<div class="footer-right">
<p class="mb-0">
Powered by <a href="https://github.com/ctaoist/leanote" target="_blank" rel="noopener">Leanote</a>
with <a href="https://github.com/ctaoist/leanote-theme-chirpy" target="_blank" rel="noopener">Chirpy</a> theme.
</p>
</div>
</div> <!-- div.d-flex -->
</footer>
<script>
function search(e) {
var keywords = $("#search-input").val();
if(!keywords) {
location.href = "{{$.searchUrl}}";
} else {
var tpl = '<form style="display: none" action="{{$.searchUrl}}" method="get">';
tpl += '<input name="keywords" value="' + keywords + '" />';
tpl += "</form";
var $tpl = $(tpl);
$('body').append($tpl)
$tpl.submit();
$tpl.remove();
}
}
</script>