Comments (6)
You put your favicon into hexo-site/source/
or hexo-site/source/images
?
There is documentation in config file:
To get or check favicons visit: https://realfavicongenerator.net
Put your favicons into hexo-site/source/
(recommend) or hexo-site/themes/next/source/images/
directory.
Default NexT favicons placed in hexo-site/themes/next/source/images/
directory.
And if you want to place your icons in hexo-site/source/
root directory, you must remove /images
prefix from pathes.
For example, you put your favicons into hexo-site/source/images
directory.
Then need to rename & redefine they on any other names, otherwise icons from Next will rewrite your custom icons in Hexo.
favicon:
small: /images/favicon-16x16-yoursite.png
medium: /images/favicon-32x32-yoursite.png
from hexo-theme-next.
I put my favicon.ico
under the hexo-site/source/
root directory, should I update the favicon path in _config.yml
as well?
Such as:
favicon:
small : /favicon.ico
An earlier release version of NexT doesn't require such an update though.
from hexo-theme-next.
An earlier release version of NexT
What earlier version? This version have no breaking changes in favicon between 5.1.3 / 5.1.4. New favicon style was added in 5.1.3 version, see here releases notes.
should I update the favicon path
Of cource u should. Try to:
1. Put your favicons into hexo-site/source/images
directory. For example, your icon named swpd.ico
, so, path will be hexo-site/source/images/swpd.ico
.
2. Then in NexT config section:
favicon:
small: /images/swpd.ico
3. After that to check icon use https://realfavicongenerator.net (your browser may cache previous NexT icon, so, need to clear cache).
from hexo-theme-next.
What earlier version?
v5.1.2. The only config of favicon was favicon: /favicon.ico
in this version.
So after new favicon style was added, I only need to config favicon>small
if I don't care about responsive favicon, right?
from hexo-theme-next.
I only need to config favicon>small if I don't care about responsive favicon, right?
U can set only 1 icon, right.
U can also see here about favicon.
from hexo-theme-next.
OK. Thank you.
from hexo-theme-next.
Related Issues (20)
- 无法设置自动折叠帖子 HOT 5
- click tags btn but get 404 page HOT 1
- Archive page cannot be rendered and displayed normally. HOT 1
- NexT note with customize link color HOT 1
- 如何添加博客分享功能? HOT 2
- <tr> tag with class="header" displayed incorrectly HOT 1
- 如何更换自定义字体 HOT 1
- ~/source/_data/footer.swig can't work as well HOT 1
- 能不能在主题中增加一个按标签进行分类,在搜索框前面增加选择标签的下拉框,进而实现分类搜索的功能?? HOT 1
- 移动端国内访问博客只显示框架,不显示文字 HOT 2
- 使用utteranc作为评论系统, 点击github注册按钮后, 总是返回到http://example.com/... 然后页面找不到 HOT 2
- 自定义:添加代码块折叠
- 空格宽度不一样 HOT 2
- 能否支持配置备案跳转地址 HOT 1
- Gitter集成问题 HOT 1
- insert a inline image in text, but the image and text are not aligned horizontally HOT 1
- next 主题如何设置首页为Archives HOT 1
- 有中文说明的config.yml吗? HOT 1
- 将官网链接替换为 theme-next.js.org HOT 2
- 關於中文段首空格與豎排的支持諮詢。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-next.