ICARUS动刀记录

选择一件趁手的文本编辑器打开 blog/themes/icarus 下的_config.yml,
修改Customize>logo>url 为 你悉心挑选的Logo图的路径(理所当然,它应该早早地就被你放置在那儿了

1
2
3
4
5
6
customize:
logo:
enabled: true
width: 40
height: 40
url: images/logo.png // 全路径是 blog/public/css/images/logo.png

Footer上版权信息大定制

我知道的,有时候占有欲爆炸的你连 Powered by Hexo. Theme by PPOffice 都不愿意放过。

ICARUS的这行字藏匿在模版 /blog/themes/icarus/layout/common/footer.ejs 之中

1
2
3
4
5
6
7
8
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
Powered by <a href="https://github.com/enoughoops/" target="_blank">Battery</a>.
</div>
</div>
</footer>

站在版权保护的角度,修改它毫无疑问处于不被推荐的行为列表里。
动手前,务必斗争一番。

Share Comments