Head and favicons

For a simpler way of setting a link to favicon.ico, see Favicons.

  1. Build and serve this tests website locally.

  2. Check that both your local build of this website and the theme docs website show the same favicon.

  3. Move favicon.ico to assets/images/.

  4. Check that the favicon has disappeared, and that Jekyll does not report “ERROR ‘/favicon.ico’ not found”.

  5. Add the following to _includes/head_custom.html:

    <link rel="icon" href="{{ '/assets/images/favicon.ico' | relative_url }}" type="image/x-icon">
    
  6. Check that the favicon has reappeared.

  7. Move the favicon back to the root directory, and revert the contents of _includes/head_custom.html.