forked from deepStateMirrors/tabi
✨ feat: support disabling header font-subset (#458)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
162a84b6d6
commit
799f3c0681
9 changed files with 54 additions and 28 deletions
12
config.toml
12
config.toml
|
@ -334,10 +334,14 @@ allowed_domains = [
|
|||
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#settings-hierarchy
|
||||
enable_csp = true
|
||||
|
||||
# Custom subset of characters for the header.
|
||||
# If set to true, the `static/custom_subset.css` file will be loaded first.
|
||||
# This avoids a flashing text issue in Firefox.
|
||||
# Please see https://welpo.github.io/tabi/blog/custom-font-subset/ to learn how to create this file.
|
||||
# Font subsetting configuration.
|
||||
# This feature helps prevent text flashing in Firefox when using custom fonts.
|
||||
# See: https://welpo.github.io/tabi/blog/custom-font-subset/
|
||||
# Enable or disable font subsetting completely, both built-in and custom subsets.
|
||||
enable_subset = true
|
||||
# Use a custom subset of characters for the header.
|
||||
# If true, tabi will load the `static/custom_subset.css` file.
|
||||
# If false, tabi will use the default language-specific subset (English or Spanish).
|
||||
custom_subset = true
|
||||
|
||||
[extra.analytics]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue