summaryrefslogtreecommitdiff
path: root/tests/sample_files/config/multiple_default_one_doc_error.yaml
blob: 44d9beb7fb1cdfb080b344b6b1167d813b4fcfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%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"
fmt:
  date: "%a, %b %d, %Y @ %H:%M %Z"
dirs:
  /:
    cfg:
      plt: "page.html"
      tags: False
      index: False
      rss: False
      sitemap: False
...
---
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"
fmt:
  date: "%a, %b %d, %Y @ %H:%M %Z"
dirs:
  # just removing all paths as it will cause an error
...