aboutsummaryrefslogtreecommitdiff
path: root/content/org-ssg.toml
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-11 15:31:39 -0500
committerChristian Cleberg <[email protected]>2026-08-11 20:35:15 -0500
commit17131d475ea658e3feeb37f8f01900f1285fe128 (patch)
tree35f0d1fc99b17fbd4aaaedb232017ef00171fffe /content/org-ssg.toml
parentb6870928c46c1eec7103746bd3153a671b8d344c (diff)
downloadcleberg.net-17131d475ea658e3feeb37f8f01900f1285fe128.tar.gz
cleberg.net-17131d475ea658e3feeb37f8f01900f1285fe128.tar.bz2
cleberg.net-17131d475ea658e3feeb37f8f01900f1285fe128.zip
Publish theme/static directly instead of copying it into content
org-ssg can read asset directories outside its source now, so the four files copied in — gpg.txt, robots.txt, salary.csv and styles.css — go back to having one home. `[build] assets = ["../theme/static"]` publishes that directory at /, which is where weblorg serves it from too. That also removes the note asking whoever comes next to keep two stylesheets identical, and picks up styles.min.css as a side effect.
Diffstat (limited to 'content/org-ssg.toml')
-rw-r--r--content/org-ssg.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/org-ssg.toml b/content/org-ssg.toml
index ffbd179..148513b 100644
--- a/content/org-ssg.toml
+++ b/content/org-ssg.toml
@@ -31,6 +31,11 @@ base_url = "https://cleberg.net"
mode = "explicit"
pages = ["blog/index.html", "garden/index.html", "salary/index.org"]
+[build]
+# theme/static/ is weblorg's static root, published at /. org-ssg reads it from here
+# rather than needing its files copied next to the writing — one copy, not two.
+assets = ["../theme/static"]
+
[templates]
dir = "templates"