Simplistic templating for adding favicons for multiple devices
An extension to allow an easy templating system to add favicons for multiple devices.
Generate your favicons using favicon-generator. This will provide you with a zip file of all the different files required.
You can use other online sources, however due to the different file naming of the different sites, you may have to create your own template with the appropriate code.
Copy the generated icons to a path in your project (eg: favicons/
). Then in the <head>
of your Page.ss
, add the following code:
$Favicons("favicons/")
The favicon template code is cached, so if you change your favicon path then you must do a ?flush
.
composer require axllent/silverstripe-favicons
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem