Picture of John-Paul Andrew
How to add a Favicon to a stand-alone Adapt build
by John-Paul Andrew - Monday, 5 January 2015, 9:21 AM
 

Hi there support team

I've been trying to get a favicon, (saved as a .ico file), to display on my Adapt build and can't seem to figure it out.

I've tried putting it in the index.html file with the correct syntax, and when you open that html file in the browser, the favicon displays, but it just doesn't display on any of the Adapt course pages.

 

Has anyone had any luck with displaying a favicon on a stand-alone build.

Thank you in advance

 

Kind regards

JP

Picture of Andre Van Der Ventel
Re: How to add a Favicon to a stand-alone Adapt build
by Andre Van Der Ventel - Tuesday, 6 January 2015, 6:52 AM
 

Exact same problem here, it would be really helpful if anybody could please give us some input on this.

Thanks kindly

Picture of Chris Jones
Re: How to add a Favicon to a stand-alone Adapt build
by Chris Jones - Tuesday, 6 January 2015, 10:14 AM
 

Hello John-Paul,

Assuming that you are modifying the index.html in src to include a favicon, you will also need to copy the .ico file to the build folder when you perform a build as this will not happen automatically.

You can do this manually or this job can be automated by adding a new configuration to the copy task in Gruntfile.js, 

See https://gist.github.com/cajones/6ac52eefe7027be16222 

Cheers,

Chris

 

Picture of John-Paul Andrew
Re: How to add a Favicon to a stand-alone Adapt build
by John-Paul Andrew - Tuesday, 6 January 2015, 10:19 AM
 

HI Chris

 

Thanks so much, got it working :)

 

Kind regards

JP