From 4d3f7fe4d19b0bff06f53d11f34746b421c7c042 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 11 Aug 2026 15:31:39 -0500 Subject: Publish theme/static directly instead of copying it into content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- content/org-ssg.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'content/org-ssg.toml') 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" -- cgit v1.2.3