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">
  <% } %>

  

猜你喜欢

转载自www.cnblogs.com/wangyuehan/p/10033203.html