From c156621a773f144fb829a63be63b8af33506d975 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 11 Aug 2026 16:07:17 -0500 Subject: Settle the four remaining differences from the live site MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - **The feed carries whole posts again.** `include_content = true` on the feed collection, and the template embeds `post.content` rather than the excerpt. 169 items, 2.9 MB, same as weblorg produces. - **Section numbering on.** The live site numbers its headings — inherited from Emacs' default rather than chosen, but switching generators is the wrong moment to quietly redesign 174 pages. The contents list numbers to match. One config line to flip if you decide against it. - **The reply footer follows the live site**: blog posts, garden notes and /now/, but not /uses/, /tips/ or /salary/. Two more `[[pages]]` rules. - **Tags stay one page per tag**, deliberately unlike the live single page with every post inlined under an anchor. A tag with its own URL is worth linking to, and the index stays short. Each index entry carries the tag's slug as an `id`, so old `/tags/#audit` links still land on the right row. Also fixes the garden emoji, which I had transcribed as ðŸŒģ where the weblorg template has ðŸŠī — taken from that template this time rather than typed. Content now matches the live site on 192 of 195 pages. The three that differ: footnote section markup, an `org-cite` citation neither generator renders usefully, and the tags page above. --- content/org-ssg.toml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'content/org-ssg.toml') diff --git a/content/org-ssg.toml b/content/org-ssg.toml index 148513b..7cac59d 100644 --- a/content/org-ssg.toml +++ b/content/org-ssg.toml @@ -45,6 +45,16 @@ dir = "templates" 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" @@ -53,7 +63,10 @@ theme = "InspiredGitHub" # which is what the current site does too. heading_offset = 1 toc = true -section_numbers = false +# On, because the live site has numbered headings — inherited from Emacs' default rather +# than chosen, but changing it is a design decision to make deliberately rather than a +# side effect of switching generators. One line to flip when you want to. +section_numbers = true # --- Generated pages ------------------------------------------------------------- # These have no source .org file. weblorg produces the equivalents today through its @@ -116,3 +129,7 @@ template = "feed.xml" title = "cleberg.net" sort = "date" order = "desc" +# Whole posts, not excerpts. The live feed carries full content, and a subscriber handed +# excerpts instead would notice. Costs a render of every listed post whenever the feed is +# rebuilt, which is the trade this is worth making for. +include_content = true -- cgit v1.2.3