mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 05:53:03 -04:00
Fixed favicon regression caused by deprecation upstream
This commit is contained in:
@@ -343,6 +343,16 @@ extra:
|
||||
[17]: https://lunrjs.com
|
||||
[18]: https://github.com/MihaiValentin/lunr-languages
|
||||
|
||||
### Favicon
|
||||
|
||||
The default favicon can be changed by setting the `favicon` variable to an
|
||||
`.ico` or image file:
|
||||
|
||||
``` yaml
|
||||
theme:
|
||||
favicon: 'images/favicon.ico'
|
||||
```
|
||||
|
||||
### Features
|
||||
|
||||
#### Tabs
|
||||
@@ -360,15 +370,6 @@ theme:
|
||||
|
||||
## Customization
|
||||
|
||||
### Adding a favicon
|
||||
|
||||
A favicon can be added by setting the `site_favicon` variable to an `.ico` or
|
||||
image file:
|
||||
|
||||
``` yaml
|
||||
site_favicon: 'images/favicon.ico'
|
||||
```
|
||||
|
||||
### Adding a source repository
|
||||
|
||||
To include a link to the repository of your project within your documentation,
|
||||
|
||||
Reference in New Issue
Block a user