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/templates/base.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'content/templates/base.html') diff --git a/content/templates/base.html b/content/templates/base.html index e391e8d..090cbea 100644 --- a/content/templates/base.html +++ b/content/templates/base.html @@ -8,12 +8,14 @@ Available here: page (.title .url .source .date .date_iso .tags .excerpt .toc .keywords), site, nav, root, stylesheet. See the org-ssg guide on Templates. #} {#- The table of contents, in the shape Emacs exports it. `page.toc` is a tree of - {title, anchor, level, children}, and it is empty when the page has no headings or - says `#+OPTIONS: toc:nil` — so pages that opt out simply render nothing here. #} + {title, anchor, level, number, children}, and it is empty when the page has no + headings or says `#+OPTIONS: toc:nil` — so pages that opt out render nothing here. + The number is printed because [html] section_numbers is on; drop it if you turn + numbering off, or the contents will number what the headings do not. #} {%- macro toc_list(entries) -%} -- cgit v1.2.3