diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-02-21 21:02:23 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-02-21 21:02:23 -0600 |
commit | 28c2ae9102d4204b3f0a79419eec1e72dbbc529a (patch) | |
tree | e93b4034371bc569f2a528db6cd5ad29afd9b001 /tests/io_files/simple_missing_key.yaml | |
parent | f2ab2bac6b26f82730d5f5d7ab1e6d5f2f1060e3 (diff) |
add configuration testing, small refactor
Diffstat (limited to 'tests/io_files/simple_missing_key.yaml')
-rw-r--r-- | tests/io_files/simple_missing_key.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/io_files/simple_missing_key.yaml b/tests/io_files/simple_missing_key.yaml new file mode 100644 index 0000000..ac81563 --- /dev/null +++ b/tests/io_files/simple_missing_key.yaml @@ -0,0 +1,29 @@ +%YAML 1.2 +--- +define: &root "$PYSSG_HOME/pyssg/site_example/" + +# test missing mandatory key +# title: "Example site" +path: + src: !join [*root, "src"] + dst: !join [*root, "dst"] + plt: !join [*root, "plt"] + db: !join [*root, ".files"] +url: + main: "https://example.com" + static: "https://static.example.com" + default_image: "images/default.png" +fmt: + date: "%a, %b %d, %Y @ %H:%M %Z" + list_date: "%b %d" + list_sep_date: "%B %Y" +dirs: + /: + cfg: + plt: "page.html" + tags: False + index: False + rss: False + sitemap: False + exclude_dirs: [] +...
\ No newline at end of file |