formatted imports
This commit is contained in:
parent
d8ca92dce6
commit
1221f43caf
13 changed files with 110 additions and 80 deletions
|
@ -1,7 +1,9 @@
|
|||
from dataclasses import dataclass, field
|
||||
from dacite import from_dict
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
|
||||
import yaml
|
||||
from dacite import from_dict
|
||||
|
||||
from zona.log import get_logger
|
||||
|
||||
logger = get_logger()
|
||||
|
@ -57,7 +59,9 @@ IGNORELIST = [".marksman.toml"]
|
|||
class ZonaConfig:
|
||||
base_url: str = "/"
|
||||
# dictionary where key is name, value is url
|
||||
sitemap: SitemapConfig = field(default_factory=lambda: {"Home": "/"})
|
||||
sitemap: SitemapConfig = field(
|
||||
default_factory=lambda: {"Home": "/"}
|
||||
)
|
||||
# list of globs relative to content that should be ignored
|
||||
ignore: list[str] = field(default_factory=lambda: IGNORELIST)
|
||||
markdown: MarkdownConfig = field(default_factory=MarkdownConfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue