diff options
| author | Christian Cleberg <[email protected]> | 2026-08-11 15:31:39 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-11 15:31:39 -0500 |
| commit | 4d3f7fe4d19b0bff06f53d11f34746b421c7c042 (patch) | |
| tree | 35f0d1fc99b17fbd4aaaedb232017ef00171fffe /content/org-ssg.toml | |
| parent | 584da4a4e0fec8873b3168ec5b0002a1bbc1c392 (diff) | |
| download | cleberg.net-4d3f7fe4d19b0bff06f53d11f34746b421c7c042.tar.gz cleberg.net-4d3f7fe4d19b0bff06f53d11f34746b421c7c042.tar.bz2 cleberg.net-4d3f7fe4d19b0bff06f53d11f34746b421c7c042.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.toml | 5 |
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" |
