简介
本文介绍去除码市的Coding Pages的等待跳转页的方法,采用hexo的next主题5.1.2版本.
1.升级银牌会员
完善信息就ok,这一步是必须的。
找到主题下的这个文件,找到这一行:
1
| <div class="theme-info">
|
原来这里面放的是主题 — NexT.Pisces v5.1.2,如下图所示:

其实这个没什么卵用,将这个div的东西都删掉,然后添加一句:
1
| <span>Hosted by <a href="https://pages.coding.me" style="font-weight: bold">Coding Pages</a></span>
|
最后完整的尾部信息是:
1 2 3 4 5 6 7 8 9 10 11
| {% if theme.copyright %} <div class="powered-by">{# #}{{ __('footer.powered', '<a class="theme-link" href="https://hexo.io">Hexo</a>') }}{# #}</div>
<span class="post-meta-divider">|</span>
<div class="theme-info"> <span>Hosted by <a href="https://pages.coding.me" style="font-weight: bold">Coding Pages</a></span> </div> {% endif %}
|
最终的效果:

既保证了原来的结构也达到了效果。之前曾尝试过在copyright也就是博主名后面加(参考链接1的方案)弄两个竖线,但是又对不齐无奈太丑了所以放弃.
参考
- http://blog.csdn.net/yingpaixiaochuan/article/details/77113397
- http://zhanghao.studio/%E6%8F%90%E5%8D%87%E5%8D%9A%E5%AE%A2%E7%9A%84%E8%AE%BF%E9%97%AE%E9%80%9F%E5%BA%A6.html