RealFaviconGenerator/realfavicongenerator

Gulp and path to icons (if not root)

Closed this issue · 1 comments

Hi,

When I use gulp, I'd like to generate my favicons in a 'favicons' folder.
I can do it with the dest params of the generate-favicon task.

But when I look at the generated HTML by this task, the base calls to icons are '/' but my favicons was generated in the 'favicons' folder.
So I tried to modify the iconsPath param, but it didn't modify the generated HTML.

After a look at the index.js file in the plugin, it seems that the iconsPath param is initialized, but absolutely not used.
Am I wrong ?

Is it possible to include the path to icons (if different from root), in the generated HTML ?

Thanks

My bad, I was executing the inject-favicon-markups task after modifying the iconsPath but I realized the HTML is generated on generate-favicon task