Head and favicons
For a simpler way of setting a link to favicon.ico
, see Favicons.
-
Build and serve this tests website locally.
-
Check that both your local build of this website and the theme docs website show the same favicon.
-
Move
favicon.ico
toassets/images/
. -
Check that the favicon has disappeared, and that Jekyll does not report “ERROR ‘/favicon.ico’ not found”.
-
Add the following to
_includes/head_custom.html
:<link rel="icon" href="{{ '/assets/images/favicon.ico' | relative_url }}" type="image/x-icon">
-
Check that the favicon has reappeared.
-
Move the favicon back to the root directory, and revert the contents of
_includes/head_custom.html
.