summaryrefslogtreecommitdiff
path: root/tests/io_files/multiple.yaml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-02-24 03:53:13 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-02-24 03:53:13 -0600
commita609b1cb2b43fd17e03efa62314f679b47ae6cb5 (patch)
tree2c495cecb477e01766343fbdae2e8c7c84fc63db /tests/io_files/multiple.yaml
parent28c2ae9102d4204b3f0a79419eec1e72dbbc529a (diff)
add utils tests, small refactor
Diffstat (limited to 'tests/io_files/multiple.yaml')
-rw-r--r--tests/io_files/multiple.yaml55
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/io_files/multiple.yaml b/tests/io_files/multiple.yaml
new file mode 100644
index 0000000..8d99c40
--- /dev/null
+++ b/tests/io_files/multiple.yaml
@@ -0,0 +1,55 @@
+%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:
+ /:
+ cfg:
+ plt: "page.html"
+ tags: False
+ index: False
+ rss: False
+ sitemap: False
+ exclude_dirs: []
+...
+---
+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:
+ /:
+ cfg:
+ plt: "page.html"
+ tags: False
+ index: False
+ rss: False
+ sitemap: False
+ exclude_dirs: []
+... \ No newline at end of file