axllent/silverstripe-favicons

Simplistic templating for adding favicons for multiple devices

Installs: 558

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:Scheme

Type:silverstripe-vendormodule

2.0.1 2017-10-16 22:34 UTC

This package is auto-updated.

Last update: 2020-07-27 13:48:18 UTC


README

An extension to allow an easy templating system to add favicons for multiple devices.

Requirements

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.

Usage

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.

Requirements

  • SilverStripe 4+

Installation

composer require axllent/silverstripe-favicons