summaryrefslogtreecommitdiff
path: root/soupault.conf
diff options
context:
space:
mode:
Diffstat (limited to 'soupault.conf')
-rw-r--r--soupault.conf25
1 files changed, 17 insertions, 8 deletions
diff --git a/soupault.conf b/soupault.conf
index ec272af..35fe8ce 100644
--- a/soupault.conf
+++ b/soupault.conf
@@ -1,4 +1,4 @@
-# Configuration file for the soupault static site generator (https://soupault.neocities.org)
+# Configuration file for the soupault static site generator (https://soupault.app)
[settings]
# Enable build progress (info level) logs
@@ -14,7 +14,7 @@
# CSS selector of the element inside the template
# where page content is inserted
- default_content_selector = "main"
+ default_content_selector = "div#content"
[preprocessors]
# Preprocess *.md Markdown pages with cmark (github.com/commonmark/cmark) before parsing.
@@ -23,10 +23,19 @@
[widgets]
-# Inject a navigation menu from templates/menu.html
-# before everything else in the <body>
-[widgets.nav-menu]
+# Inserts the banner in main page only
+[widgets.insert-banner]
widget = "include"
- file = "templates/menu.html"
- selector = "body"
- action = "prepend_child"
+ page = "index.html"
+ file = "templates/banner.html"
+ selector = "main"
+ action = "insert_before"
+
+[widgets.list-snapshots]
+ widget = "exec"
+ command = "scripts/list-snapshots.py"
+ selector = "div#content"
+ action = "append_child"
+
+ page = "snapshots.md"
+