summaryrefslogtreecommitdiff
path: root/tests/io_files/simple_missing_root_dir.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io_files/simple_missing_root_dir.yaml')
-rw-r--r--tests/io_files/simple_missing_root_dir.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/io_files/simple_missing_root_dir.yaml b/tests/io_files/simple_missing_root_dir.yaml
new file mode 100644
index 0000000..07fa824
--- /dev/null
+++ b/tests/io_files/simple_missing_root_dir.yaml
@@ -0,0 +1,22 @@
+%YAML 1.2
+---
+define: &root "$PYSSG_HOME/pyssg/site_example/"
+
+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:
+# test missing /:
+ something:
+... \ No newline at end of file