diff options
| author | Christian Cleberg <[email protected]> | 2026-08-11 13:51:10 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-11 20:35:15 -0500 |
| commit | 42bf4bae9d582abd56758c1fcc7741419161fe7e (patch) | |
| tree | 85de76827a35e23a79a1e8a509f9b112527dfdc1 /content/org-ssg.toml | |
| parent | 9049e20a29fb54245079ec19ae4a503e3f8e2799 (diff) | |
| download | cleberg.net-42bf4bae9d582abd56758c1fcc7741419161fe7e.tar.gz cleberg.net-42bf4bae9d582abd56758c1fcc7741419161fe7e.tar.bz2 cleberg.net-42bf4bae9d582abd56758c1fcc7741419161fe7e.zip | |
Route blog posts through post.html
The reply-by-email and Bubbles lines were emitted from base.html behind a test
on the page's URL, because org-ssg had no way for a page to pick a layout. It
does now, so they live in a post.html that extends the shared one — the same
split weblorg has between theme/templates/base.html and post.html — selected by
a [[pages]] rule for blog/.
All 169 posts carry the footer; /blog/ itself does not, being a generated
listing rather than a post.
Diffstat (limited to 'content/org-ssg.toml')
| -rw-r--r-- | content/org-ssg.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/org-ssg.toml b/content/org-ssg.toml index 4edb039..ffbd179 100644 --- a/content/org-ssg.toml +++ b/content/org-ssg.toml @@ -34,6 +34,12 @@ pages = ["blog/index.html", "garden/index.html", "salary/index.org"] [templates] dir = "templates" +# Blog posts render through post.html — the shared layout plus a reply footer — the way +# weblorg routes them through theme/templates/post.html. Everything else uses base.html. +[[pages]] +match = "blog" +template = "post.html" + [highlight] theme = "InspiredGitHub" |
