aboutsummaryrefslogtreecommitdiff
path: root/content/org-ssg.toml
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-11 16:12:19 -0500
committerChristian Cleberg <[email protected]>2026-08-11 20:35:15 -0500
commit3239e8978f879af87a928866163173f66127e9f1 (patch)
tree4ac2ca57a79e5fb8613cc2af4269e9f46f6916c3 /content/org-ssg.toml
parentc156621a773f144fb829a63be63b8af33506d975 (diff)
downloadcleberg.net-3239e8978f879af87a928866163173f66127e9f1.tar.gz
cleberg.net-3239e8978f879af87a928866163173f66127e9f1.tar.bz2
cleberg.net-3239e8978f879af87a928866163173f66127e9f1.zip
Make the reply footer a snippet, not a rule
Routing garden notes and /now/ through post.html put the invitation to reply on them because a directory said so, which is the wrong thing to be automatic — it is a choice about each page, and I had made it site-wide to chase parity with the live site. Those two rules are gone; blog posts keep it. The wording now lives in templates/reply.html rather than inside post.html, so it can be edited or emptied without touching how a post is built, and editing it re-renders the 170 pages that include it and nothing else. Any page opts in for itself with `#+TEMPLATE: post.html`; any post opts out with `#+TEMPLATE: base.html`.
Diffstat (limited to 'content/org-ssg.toml')
-rw-r--r--content/org-ssg.toml14
1 files changed, 4 insertions, 10 deletions
diff --git a/content/org-ssg.toml b/content/org-ssg.toml
index 7cac59d..a1db6a0 100644
--- a/content/org-ssg.toml
+++ b/content/org-ssg.toml
@@ -41,20 +41,14 @@ 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.
+# Blog posts render through post.html, which adds the reply snippet. Nothing else does:
+# the live site also invites replies on garden notes and /now/, and that is a choice
+# rather than something a directory should decide. Any page opts in for itself with
+# `#+TEMPLATE: post.html`, and any post opts out with `#+TEMPLATE: base.html`.
[[pages]]
match = "blog"
template = "post.html"
-# The live site invites replies on garden notes and /now/ too, but not on /uses/,
-# /tips/ or /salary/.
-[[pages]]
-match = "garden"
-template = "post.html"
-
-[[pages]]
-match = "now"
-template = "post.html"
-
[highlight]
theme = "InspiredGitHub"