mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-17 14:43:32 -06:00
Restore simple configuration of favicon.ico (#1095)
Avoid the need to add a link to favicon,ico when editing `_includes/head_custom.html`, and avoid creating an invalid favicon link - Remove the content of `_includes/head_custom.html` - Add code to `_includes/head.html` to create a link to an existing favicon,ico - Add an explanation of favicon_ico to docs/configuration.md - Remove the example of `includes/head_custom.html` and add an explanation of what the `<head>` element automatically includes
This commit is contained in:
@@ -27,6 +27,15 @@ View this site's [\_config.yml](https://github.com/just-the-docs/just-the-docs/t
|
||||
logo: "/assets/images/just-the-docs.png"
|
||||
```
|
||||
|
||||
## Site favicon
|
||||
|
||||
```yaml
|
||||
# Set a path/url to a favicon that will be displayed by the browser
|
||||
favicon_ico: "/assets/images/favicon.ico"
|
||||
```
|
||||
|
||||
If the path to your favicon is `/favicon.ico`, you can leave `favicon_ico` unset.
|
||||
|
||||
## Search
|
||||
|
||||
```yaml
|
||||
|
Reference in New Issue
Block a user