diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
commit | 0b8441c79b047f81526bbb83febc40d7530e35d6 (patch) | |
tree | 71f4f3b51685fc81cda226476302c9084146ab39 /src/pyssg/configuration.py | |
parent | e69392a52f102d169c7d80994d169ba0743747a1 (diff) |
add extra configuration for more control, add pyssg.xyz example
this is the first step towards creating a way to handle multiple subdomains/configs in a single run for a more cohesive site generation
Diffstat (limited to 'src/pyssg/configuration.py')
-rw-r--r-- | src/pyssg/configuration.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pyssg/configuration.py b/src/pyssg/configuration.py index 1d05289..33a82cd 100644 --- a/src/pyssg/configuration.py +++ b/src/pyssg/configuration.py @@ -43,6 +43,8 @@ def get_parsed_config(path: str) -> list[dict]: log.debug('reading config file "%s"', path) config: list[dict] = get_parsed_yaml(path) # type: ignore + log.info('found %s document(s) for configuration "%s"', len(config), path) + __check_well_formed_config(config[0]) __expand_all_paths(config[0]) |