question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom favicons not working in 1.0

See original GitHub issue

Issue 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:closed
  • Created 6 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
david-cakocommented, Jul 29, 2017

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.

1reaction
mmornaticommented, Sep 23, 2017

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found