Configuration: settings
Reslution hierarchy
The setting hierarchy is:
- Blurry's defaults
- The
blurry.toml
configuration file - Environment variables
Available settings
See the Settings
type for Blurry's available settings:
class Settings(TypedDict):
AVIF_COMPRESSION_QUALITY: int
BUILD_DIRECTORY_NAME: str
CONTENT_DIRECTORY_NAME: str
MARKDOWN_FILE_JINJA_TEMPLATE_EXTENSION: str
TEMPLATES_DIRECTORY_NAME: str
TEMPLATE_SCHEMA_TYPES: dict[str, str]
DEV_HOST: str
DEV_PORT: int
DOMAIN: str
IMAGE_WIDTHS: list[int]
MAXIMUM_IMAGE_WIDTH: int
THUMBNAIL_WIDTH: int
VIDEO_EXTENSIONS: list[str]
USE_HTTP: bool
RUNSERVER: bool
FRONTMATTER_NON_SCHEMA_VARIABLE_PREFIX: str