haysclark / gatsby-starter-casper

The Casper theme v1.4 ported to GatsbyJS

Home Page:https://haysclark.github.io/gatsby-starter-casper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

favicon not rendering

antonioOrtiz opened this issue · comments

Is there a special config file or section in another config file I am overlooking to get the favicon to render?

I thought it was just being aliased in the static/logos directory, from the src directory.

When I updated it rendered a blank placeholder.

Thanks in advance and for making a great starter kit!

@antonioOrtiz Did you try ../static/logos/logo-48.png? The project uses a Symlink, which might only be Linux and OSX friendly. https://github.com/haysclark/gatsby-starter-casper/blob/master/src/favicon.png

Think deleting the the .cache folder and just putting the favicon.png in the same directory as the html.jsx file worked for me.

Also I marked up the tag like this:

<link rel="shortcut icon" type="image/png" href={favicon} />