mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
update mastering tabi settings
This commit is contained in:
parent
027589ca47
commit
424cb4e71d
2 changed files with 11 additions and 1 deletions
|
@ -547,6 +547,16 @@ tabi takes care of most of the SEO for you (like Open Graph protocol tags, descr
|
|||
|
||||
The favicon is the small icon that appears in the browser tab. You can set it in `config.toml` with `favicon = "img/favicon.png"`.
|
||||
|
||||
### Light and Dark Mode Favicon
|
||||
|
||||
| Page | Section | `config.toml` | Follows Hierarchy | Requires JavaScript |
|
||||
|:----:|:-------:|:-------------:|:-----------------:|:-------------------:|
|
||||
| ❌ | ❌ | ✅ | ❌ | ✅ |
|
||||
|
||||
If you want to use different favicons for light and dark themes, you can specify both `light_favicon` and `dark_favicon` in `config.toml`. For example: `light_favicon = "img/favicon-light.png"` and `dark_favicon = "img/favicon-dark.png"`.
|
||||
|
||||
{{ admonition(type="note", text="The light favicon will be used when JavaScript is not enabled or on the Safari browser.") }}
|
||||
|
||||
### Emoji Favicon
|
||||
|
||||
| Page | Section | `config.toml` | Follows Hierarchy | Requires JavaScript |
|
||||
|
|
|
@ -202,7 +202,7 @@ invert_title_order = false
|
|||
# favicon = ""
|
||||
#
|
||||
# Or, you can set both light and dark favicons to be used depending on the theme.
|
||||
# The light favicon will be used if JavaScript is not enabled or on Safari.
|
||||
# The light favicon will be used when JavaScript is not enabled or on the Safari browser.
|
||||
# light_favicon = ""
|
||||
# dark_favicon = ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue