Closed vasco3 closed 4 years ago
just realized that this project is using an older version of next which still uses static folder instead of public for assets.. So this approach won't work for the favicon. I would have to add a _document.js in pages. Would that be OK ? Or should we wait until we upgrade next?
we'll only need to rename the static folder to public (didn't think about it yet).. will do that as soon as I got the blog infra PR in, since it touches a few related files. I can ping you as soon as it is ready?
yeah no problem.
we will also need to update all the image paths in the jsx tags from /static/image.png
to /image.png
i added the favicon after I refactored to the /public/static
folder within PR #135... thanks for opening this PR though!
This will display the favicon in the browser tab.