# org-ssg configuration for cleberg.net. # # Lives in content/ because that directory is the site's URL root: content/blog/post.org # publishes at /blog/post.html. Neither this file nor templates/ is published. # # org-ssg serve content -o /tmp/preview # write and preview # org-ssg build content -o _site --strict # build for real, failing on broken links # # This sits alongside the existing weblorg setup (publish.el, theme/) and changes nothing # about it. Delete this file and content/templates/ to remove org-ssg entirely. [site] title = "cleberg.net" description = "Stillness amidst the chaos." language = "en" # Set, because the layout emits canonical links and /feed.xml — a feed is read away from # the site that served it, so its links cannot be relative. Ordinary page-to-page links # stay relative regardless, so a preview build still works from a directory. base_url = "https://cleberg.net" [nav] # Explicit, because the pages that belong in the nav are not all top-level: /blog/ and # /garden/ are generated below, and salary/ is a section index one level down. index.org # is deliberately absent — the layout writes the Home link itself, exactly as weblorg's # base.html does. # # Generated pages are named by their output path, authored ones by their source. Listing # them together is what puts Salary last: a collection with `nav = true` that is not # listed here gets appended after everything that is — which is why the tags collection # below does not set `nav = true`: the live nav has no Tags entry. mode = "explicit" pages = ["blog/index.html", "garden/index.html", "salary/index.org"] [build] # theme/static/ is weblorg's static root, published at /. org-ssg reads it from here # rather than needing its files copied next to the writing — one copy, not two. assets = ["../theme/static"] [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" [html] # Level-1 org headings become