update default config
This commit is contained in:
parent
42a8b51914
commit
41eacc1a85
2 changed files with 4 additions and 2 deletions
|
@ -31,13 +31,16 @@ class BuildConfig:
|
|||
include_drafts: bool = False
|
||||
|
||||
|
||||
IGNORELIST = [".git", ".env", ".marksman.toml"]
|
||||
|
||||
|
||||
@dataclass
|
||||
class ZonaConfig:
|
||||
title: str = "Zona Blog"
|
||||
base_url: str = "https://example.com"
|
||||
language: str = "en"
|
||||
# list of globs relative to content that should be ignored
|
||||
ignore: list[str] = field(default_factory=lambda: [".env", ".git"])
|
||||
ignore: list[str] = field(default_factory=lambda: IGNORELIST)
|
||||
markdown: MarkdownConfig = field(default_factory=MarkdownConfig)
|
||||
theme: ThemeConfig = field(default_factory=ThemeConfig)
|
||||
build: BuildConfig = field(default_factory=BuildConfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue