Not using favicon generator
Just put your favicon.ico
file at the root/static
folder.
Using favicon generator
If you are using favicon genarator, the favicon works well on the mobile too. So, it is recommended.
Set the
useFaviconGenerator
to true in the file atroot/config/_default/params.toml
Generate your favicon at https://www.favicon-generator.org/ site.
Make a folder at
root/static/favicon
Unzip the generated favicon to that folder.