Favicon issues
Hey DevDojo admin team,
How are y'all? It has been a while since I posted here. I have my altered wave application on production at this point. I posted the link below if anyone is interested in seeing the final product. I am not quite done with menu and other smaller items.
One thing I noticed is that after I switched our company server to Linux our site favicon stopped working. I thought maybe for some reason this line of code <link rel="icon" href="{{ setting('site.favicon') }}" type="image/x-icon">
was making the application default back to the default wave image. I removed this /wave/Wordpress.png
and still had the favicon issue. I attached a screenshot to show the favicon is being used.
I am not sure how to resolve the issue. Originally, none of my images worked and I recreated the storage:link and they came back but not the favicon.
Hi there!
Good catch with the favicon, to fix this, edit the layout file at:
resources/views/themes/tailwind/layouts/app.blade.php
And update line 17 to:
<link rel="icon" href="{{ Voyager::image(setting('site.favicon', '/wave/favicon.png')) }}" type="image/x-icon">
If you are using the Tallstack theme change the path accordingly.
I will submit a PR with a fix for that soon.
Thank you Bobby.
No problem! Your project looks great btw! Well done!
Thank you. That code snippet worked and the favicon loaded immediately.
The site still needs some minor work done to it but the major alterations have taken place. For instance, I kept the menu layout but removed the authenticated menu since I do not need user management on a publishing website. I used Laravel Wave because of theme and how easy it is to continue using tailwind with the project.
Looking forward to Foundation.