summaryrefslogtreecommitdiff
path: root/pyssg.xyz/config.yaml
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-05 05:03:45 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-05 05:03:45 -0600
commit0b8441c79b047f81526bbb83febc40d7530e35d6 (patch)
tree71f4f3b51685fc81cda226476302c9084146ab39 /pyssg.xyz/config.yaml
parente69392a52f102d169c7d80994d169ba0743747a1 (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 'pyssg.xyz/config.yaml')
-rw-r--r--pyssg.xyz/config.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/pyssg.xyz/config.yaml b/pyssg.xyz/config.yaml
new file mode 100644
index 0000000..976ab4f
--- /dev/null
+++ b/pyssg.xyz/config.yaml
@@ -0,0 +1,30 @@
+%YAML 1.2
+---
+define: &root_path "$HOME/pyssg/pyssg.xyz/"
+
+title: "pyssg"
+path:
+ src: !join [*root_path, "src"]
+ dst: !join [*root_path, "dst"]
+ plt: !join [*root_path, "plt"]
+ db: !join [*root_path, "db.psv"]
+url:
+ main: "https://pyssg.xyz"
+ static: "https://static.pyssg.xyz"
+ default_image: "images/default.png"
+fmt:
+ date: "%a, %b %d, %Y @ %H:%M %Z"
+ list_date: "%b %d"
+ list_sep_date: "%B %Y"
+dirs:
+ /:
+ plt: "page.html"
+ tags: False
+ index: False
+ rss: False
+ sitemap: False
+ exclude_dirs: []
+ articles:
+ plt: "page.html"
+ tags: True
+... \ No newline at end of file