enb-favicons
ENB technology for favicons generation. Wrapper around favicons package.
Notes
Requirements for favicons source (master) picture:
- Should be square.
- Should be at least 57x57 (for ios), 70x70 (windows), 228x228 (coast), 300x300 (open_graph).
Installation
npm install --save-dev enb-favicons
Options
Options are the same as in favicons
package, except for:
destination
(path to destination folder);target
(needs for enb tech process).
Example
You can run it in project with YENV environment variable
YENV=favicons enb make -n
and those lines in your enb
config:
if config_envYENV === 'favicons' config;
Finally, go to your page
template and add block in head
field:
block : 'page' head : block : 'favicons'