加入导航栏底层即可
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
| <% if (page.type !== '404' && theme.sidebar === 'right') { %> <%- partial('_partial/sidebar') %> <% } %> </div> </div> </div> <footer> <link rel="stylesheet" href="./live2d/css/live2d.css" /><!-- live2d看板娘在themes的source中替换 --> <body class="custom-background"> <div id="landlord"> <div class="message" style="opacity:0"></div> <canvas id="live2d" width="300" height="450" class="live2d"></canvas> <div class="hide-button">隐藏</div> </div> <script type="text/javascript" src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script> <script type="text/javascript"> var message_Path = './live2d/' var home_Path = 'https://white-x.top/' </script> <script type="text/javascript" src="./live2d/js/live2d.js"></script> <script type="text/javascript" src="./live2d/js/message.js"></script> <script type="text/javascript"> loadlive2d("live2d", "./live2d/model/leimu/leimu.model.json"); </script>
<div id="footer" <% if (theme.aplayer.enabled) { %> class="ap-lrc" <% } %> > <div class="kr-tool text-center"> <div class="tool"> <% if (theme.search.enable) { %> <div class="box search-box"> <a href="<%- config.root %>search/"> <span class="fa fa-search"></span> </a> </div> <% } %> <% if (theme.enable_dark) { %> <div class="box theme-box" id="darkmode-switch"> <span class="fa fa-adjust"></span> </div> <% } %> <% if (theme.group_link) { %> <div class="box group-box"> <a href="<%- theme.group_link %>" target="_blank" rel="nofollow"> <span class="fa fa-users"></span> </a> </div> <% } %> </div> <div class="box gotop-box"> <span class="fa fa-chevron-up"></span> </div> </div> <div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3 footer-list text-center"> <ul class="kratos-social-icons"> <% if (theme.contact.weibo) {%><li><a target="_blank" rel="nofollow" href="https://weibo.com/u/<%- theme.contact.weibo %>"><i class="fa fa-weibo"></i></a></li><% } %> <% if (theme.contact.mail) {%><li><a href="mailto:<%- theme.contact.mail %>"><i class="fa fa-envelope"></i></a></li><% } %> <% if (theme.contact.telegram) {%><li><a target="_blank" rel="nofollow" href="https://t.me/<%- theme.contact.telegram %>"><i class="fa fa-telegram"></i></a></li><% } %> <% if (theme.contact.twitter) {%><li><a target="_blank" rel="nofollow" href="https://twitter.com/<%- theme.contact.twitter %>"><i class="fa fa-twitter"></i></a></li><% } %> <% if (theme.contact.facebook) {%><li><a target="_blank" rel="nofollow" href="https://www.facebook.com/<%- theme.contact.facebook %>"><i class="fa fa-facebook-official"></i></a></li><% } %> <% if (theme.contact.linkedin) {%><li><a target="_blank" rel="nofollow" href="https://cn.linkedin.com/in/<%- theme.contact.linkedin %>"><i class="fa fa-linkedin-square"></i></a></li><% } %> <% if (theme.contact.fediverse.username) {%><li><a target="_blank" rel="me" href="https://<%- theme.contact.fediverse.instance %>/@<%- theme.contact.fediverse.username %>"><i class="fa fa fa-share-alt-square"></i></a></li><% } %> <% if (theme.contact.github) {%><li><a target="_blank" rel="nofollow" href="https://github.com/<%- theme.contact.github %>"><i class="fa fa-github"></i></a></li><% } %> <% if (theme.contact.rss) {%><li><a target="_blank" rel="nofollow" href="<%- config.root + theme.contact.rss %>"><i class="fa fa-rss"></i></a></li><% } %> </ul> <ul class="kratos-copyright"> <div> <li>© <%- date(new Date(), 'YYYY') %> <%- config.title || config.author %> <%- __('copyright') %>.</li> <li><%- theme.timenotice %><span id="span_dt">Loading...</span></li> </div> <div> <li>Theme <a href="https://github.com/Candinya/Kratos-Rebirth" target="_blank">Kratos:Rebirth</a></li> <li>Site built with <i class="fa fa-heart throb" style="color:#d43f57"></i> by <%- config.author %>.</li> </div> <div> <li>Powered by <a href="https://hexo.io" target="_blank" rel="nofollow">Hexo</a></li> <% if (theme.hoster) {%><li>Hosted on <%- theme.hoster %></li><% } %> </div> <div> <% if (theme.icp) {%><li><a href="https://beian.miit.gov.cn" rel="external nofollow" target="_blank"><%- theme.icp %></a></li><% } %> <% if (theme.psr) {%><li><a href="http://www.beian.gov.cn" rel="external nofollow" target="_blank"><img src="/images/psr.webp" width="12" height="12"><%- theme.psr %></a></li><% } %> </div> </ul> </div> </div> </div> </div> </footer> </div> </div>
</html>
|
更改在theme文件,css和footer.ejs中