Custom favicons not working in 1.0
See original GitHub issueIssue Summary
Custom favicons are no longer working.
I’ve looked in the admin panel to make sure the favicon isn’t configured there, but I don’t see anything of the sort, only a way to upload a much larger “Publication Icon”.
Two separate issues:
-
{{ asset "/favicon.ico" }}
does not correctly source the theme favicon anymore. I would expect this to return/assets/favicon.ico
, but it instead returns/favicon.ico
. -
Further,
{{ ghost_head }}
is adding another line of the default favicon to the page.
I can’t seem to override it, regardless of whether I put a hard-coded <link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
before or after {{ ghost_head }}
.
Steps to Reproduce
Try to use {{ asset "/favicon.ico" }}
to serve a custom favicon from the theme assets.
Technical details:
- Ghost Version: 1.0
- Node Version: 6.9.5
- Browser/OS: Chrome/OSX
- Database: mysql
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Unable to set my custom favicon.ico in Spring Boot 1.3 or 1.2.5
Trying to get rid of the problem, I've started a new project (Spring 1.2.5 this time) and I got the same issue. Using...
Read more >Favicon Not Showing Up - How to Fix In Chrome, Wordpress ...
If you use Customizer to upload a custom favicon, it may not work as this is meant for pages that use AMP. To...
Read more >How to Add a Favicon to your Site - QA @ W3C
W3C QA - This guide reviews the correct way to add a favicon to your Web site and address some issues related to...
Read more >The 2022 Guide to FavIcons for Nearly Everyone and Every ...
This is a problem since most icon generators only create 16 x 16 pixel icons. Retina displays will show the less appealing 16...
Read more >[CONFSERVER-54888] Cannot change favicon - Jira - Atlassian
Still not working as expected. This was reported a number of years ago. Either remove the ability to upload an icon, or fix...
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 FreeTop 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
Top GitHub Comments
Okay, thank you both for clarifying.
I will say, it’s entirely non-obvious based on the admin panel. There doesn’t seem to be any indication there or in the documentation that the Publication Icon is what you need to upload to display a custom favicon.
I pushed the method implementation suggested by @aphe which is fixing the problem. Actually pushed on the mmornati repo. I will push on the seth one too (I think we will keep only one repo).