Wrong favicon.ico in _site
See original GitHub issueTitle
Wrong favicon.ico in _site
Functional impact
The generated _site contains the wrong favicon.ico
when _appFaviconPath
is specified in docfx.json
.
Minimal repro steps
- Add your own favicon.ico to
./images
- Add
_appFaviconPath
todocfx.json
Expected result
My ./images/favicon.ico
should be copied to _site
.
Actual result
The default docfx favicon.ico is copied to _site
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:27 (22 by maintainers)
Top Results From Across the Web
Google Search results showing wrong site icon for my ...
The problem with reindexing the Favicon, is that it's not something Google expects to change very often, so checking it has altered is,...
Read more >Google Chrome displays the wrong favicon that I've linked ...
Try renaming your favicon file to be favicon.ico and putting it in the root (/) directory.
Read more >How to fix favicon.ico error: "Failed to load resource: net
The thing is that /favicon.ico is always requested automatically by browsers or servers, nowadays, if there is no <link rel="shortcut icon"> .
Read more >Incorrect favicon in the site selector · Issue #675
This is incorrect. The proper behavior is as follows: Try to get the file favicon.ico from the site directory where the login page...
Read more >Why Google Chrome Is Showing The Wrong Favicon
One possibility is that the website's server is configured to not serve favicons. Another possibility is that the favicon is not in the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@smaillet Thank you for your comments and it’s really convincing. It makes sense for content to overwrite template. I will fix it. @emrgee After the fix,
_appFaviconPath
is not needed. Adding a resource is sufficient:@moxy524 See an example of how it is done here https://github.com/ElinamLLC/SharpVectors/tree/master/docfx
The result here https://elinamllc.github.io/SharpVectors/index.html