hexo+yilia主题博客如何添加图标icon

1. 先去比特虫网站做icon图标

2. 图片放到hexo/source/img文件夹下

3. 找到hexo\themes\modernist\layout_partial\head.ejs,设置为

<% if (theme.favicon){ %>
    <link rel="icon" href="/img/favicon.ico">
  <% } %>

  

 现在博客:http://www.wangyurui.online

posted @ 2018-11-28 16:59  王约翰  阅读(3587)  评论(0编辑  收藏  举报