krz/orgo

Lightning fast org-mode static site generator. fast go org-mode static-site-generator

Commit 978d2a152a

978d2a152a15ae71829ee4cb4dc3e4ff56baa3ca

parent: 20a54d84ca

Verified · cmc

cmc <hello@cleberg.net> · 2026-08-11 06:08 UTC

Document toc and section_numbers in the starter config

An earlier edit did not match, so `org-ssg init` wrote a config that omitted the two
[html] settings added with the table of contents. Every other setting is shown at its
default in that file, which is the point of it — a knob missing from it is a knob nobody
finds.

Layout: unified · split

src/config.rs +5
@@ -439,6 +439,11 @@ drafts = false
439439# The default of 1 matches Emacs, and assumes your layout renders the page title as the
440440# <h1>. Set to 0 if your template renders no title of its own.
441441heading_offset = 1
442# Make page.toc available to templates. A document opts out with `#+OPTIONS: toc:nil`.
443toc = true
444# Number headings (1., 1.1., …). Emacs defaults this on; most sites do not.
445# A document overrides with `#+OPTIONS: num:t`.
446section_numbers = false
442447
443448# Generated listing pages: output files with no source .org behind them. Repeat the
444449# [[collections]] block for each one. A feed is the same thing with an XML template.