Configuration
Podcast feed#
The optional podcast block enables the podcast feed. It is absent by default;
see Audio episodes for episode metadata.
{
"podcast": {
"version": 1,
"title": "The show",
"description": "Conversations about the craft.",
"author": "The host",
"email": "podcast@example.com",
"category": "Technology",
"explicit": false,
"image": "/images/podcast.jpg"
}
}
The site URL must be HTTPS. Builds write /podcast.xml, with the first source
of each published episode as its enclosure and a Podcasting 2.0 chapter file
where chapters are present. The image must be a site-relative path or HTTPS
URL; ensure it meets your directory's artwork requirements before submitting.
email is optional and is published in the feed when set; Spotify uses the
address in a feed to verify show ownership, so choose an address intended to
be public.
See the directory submission guide for deployment,
validation, and manual submission steps.
General settings#
All settings live in openblog.json at the root of your blog. Every key is optional; the
values below are the defaults. openblog init writes the file with every key at its
default, so you can edit values in place and delete the ones you do not need.
{
"title": "open.blog",
"description": "A blog built with open.blog", // meta description and feed subtitle
"url": "https://example.com", // the address the site is published at
"language": "en",
"author": { "name": "", "url": "", "email": "", "sameAs": [] },
"contributors": {}, // reusable people for per-post credits
"logo": "", // image beside the title, e.g. /images/logo.png
"favicon": "",
"ogImage": "", // social card image for pages without a cover
"theme": "base", // default theme (a folder under themes/)
"colorSchemeToggle": null, // null follows theme; true shows button; false uses system preference
"postPath": "/posts/{slug}/", // "/{slug}/" puts posts at the root
"postsPerPage": 10, // 0 shows every post on the home page
"latestPostsPerPage": 0, // 0 keeps static /page/N/ links; otherwise the homepage uses ?latest-page=N
"seriesPerPage": 0, // 0 shows every series; otherwise paginate with ?series-page=N
"redirectsFile": false, // true also writes a _redirects file: a real 301 for every `aliases:` address (Netlify, Cloudflare Pages)
"nav": [
{ "label": "Home", "href": "/" },
{ "label": "Series", "href": "/series/" },
{ "label": "Archive", "href": "/archive/" },
{ "label": "Search", "href": "/search/" }
],
"social": [], // footer links, e.g. {"label":"GitHub","href":"..."}
"footer": "© {year} {author}",
"poweredBy": true, // the "Powered by open.blog" footer link
"home": { "heading": "Latest posts", "intro": "", "showSeries": true },
"share": { "enabled": true, "networks": ["x", "bluesky", "linkedin", "reddit", "hackernews", "email"] },
"analytics": { "builtin": true, "showViews": true, "retentionDays": 400, "endpoint": "", "branch": "analytics", "bakeCounts": true },
"engagement": { "enabled": false, "comments": true, "analytics": true, "endpoint": "", "feedback": false, "feedbackContact": "", "receipts": false },
"snippets": { "head": "", "postFooter": "", "bodyEnd": "" },
"relatedPosts": 3,
"cdn": { "url": "", "paths": ["/assets/", "/themes/", "/images/"], "version": "", "maxAge": 86400 },
"feeds": { "rss": true, "json": true, "sitemap": true, "llms": true, "portfolioSnapshot": true, "limit": 20, "fullContent": true },
"seo": { "aiSearch": true, "aiTraining": true },
"markdown": { "smartPunctuation": false, "headingAnchors": true, "tocDepth": 3, "tocMinHeadings": 3 },
"code": { "highlight": null, "lineNumbers": null, "copyButton": true, "playgroundLink": true },
"codeRunner": { "endpoint": "", "languages": [] },
"recipes": { "scaling": true, "checklists": true, "timers": true, "cookMode": true, "print": true, "jumpLink": true, "listing": true },
"knowledgeChecks": { "generationEndpoint": "", "model": "" },
"paths": { "content": "content", "static": "static", "output": "dist", "themes": "themes", "web": "web" },
"admin": { "usersFile": ".openblog/users.json", "sessionHours": 12, "secureCookies": false, "maxUploadMb": 10, "trustedProxies": [], "signInUrl": "", "passes": { "from": "", "fromName": "", "only": false } },
"publish": { "remote": "origin", "branch": "main", "auto": false, "includeDrafts": false, "paths": ["content", "static", "openblog.json", "themes", ".github"], "pullFirst": true },
"knowledgeAtlas": { "publish": false },
"claimEvidence": { "publish": false },
"comparisons": { "publish": false },
"readingPaths": { "publish": false },
"interpretations": { "publish": false },
"curatedContext": { "publish": false },
"readingModes": { "default": "standard" },
"readerAnnotations": { "enabled": false }
}
Site#
-
colorSchemeTogglecontrols the public light/dark button across all pages.null(or omitted) follows each page's theme,trueshows the button and restores saved visitor choices, andfalsehides it and follows the system preference, ignoring old manual choices. Edit this in Studio's Look (whether readers can switch to dark); it does not change Studio's own colours, which follow the system. Theme authors can set the inheritedoptions.colorSchemeToggledefault intheme.json. -
appearanceis the owner's look: simple presets, never CSS. It is optional, and a site without it builds exactly as before. Every value is a choice or a hex color, and a bad value fails the build with a plain message:"appearance": { "version": 1, "palette": "calm", // calm, warm, bold, night, garden, paper, ocean, sunset, // and for trades: workshop, high-vis, blueprint "accent": "#2f6690", // #rgb or #rrggbb; made readable in light and dark if needed "fontStyle": "classic-serif", // modern-sans, classic-serif, friendly-rounded, techie-mono "textSize": "large", // small, medium, large, extra-large "roundness": "soft", // square, soft, round "spacing": "airy", // compact, comfortable, airy "pageWidth": "wide", // narrow, medium, wide "headingWeight": "bold" // normal, bold }The three looks for trades (
workshop,high-visandblueprint) meet the stricter AAA contrast bar, and choosing one in Studio's Look also setstextSizetolargeandheadingWeighttoboldunless you chose your own (ADR 0400).Leave out any field to keep the theme's own value. The engine compiles these into a short block of
--ob-*tokens after the theme's, only for the controls the theme honors (see Look controls). Fields it does not know are kept when Admin saves. -
urlis used for canonical links, feeds, the sitemap, and social cards, so set it to the real public address. If it includes a path (https://user.github.io/blog), the site is built to live under that path. See Deploying. -
postPathmust contain{slug}; a value without it is silently replaced by the default/posts/{slug}/, and a leading and trailing/are added if missing. Choose it before publishing; changing it later moves every post (addaliasesto the posts to keep old links working). -
naventries can point anywhere, including other sites. Pages withnav: truein their front matter are appended after these. -
footerreplaces{year}with the year of the newest post and{author}with the author name. -
author.sameAslists only public profiles that identify the same person (for example, a Mastodon, GitHub, or professional profile). It feeds structured author identity; usesocialfor generic footer links. -
contributorsis a reusable registry for posts with multiple authors or other credited people. Keys are lowercase slugs. Each person supportsname,url,sameAs, and an optional ORCID iD. Profileurlaccepts an HTTP(S) URL or site-root path; everysameAsentry must be an absolute HTTP(S) URL. Contributor IDs are referenced by post credit sidecars, so treat them as stable identifiers. They can also be managed under People in Studio. See Work-specific credits. -
Landing page: when
content/landing.jsonexists, the home page is built from its sections instead ofhome.heading,home.introandhome.showSeries. It is written by Studio's Front page; see Landing page sections. -
home.introis Markdown shown above the post list on the first page.
Business facts#
business states who you are once, and every page, the footer, the Landing page's Business facts section
and the LocalBusiness structured data read it (ADR 0305).
It is optional: a site without it builds exactly as before. Edit it in Studio's Business,
or by hand:
"business": {
"version": 1,
"legalName": "Maple Falls Flooring LLC",
"displayName": "Maple Falls Flooring",
"trade": "flooring",
"phone": "+13605550142",
"email": "office@example.com",
"hours": {
"monday": { "open": "08:00", "close": "17:00" },
"saturday": { "open": "09:00", "close": "12:30" },
"sunday": { "closed": true }
},
"licenseNumber": "MAPLEF*123",
"licenseIssuer": "Washington L&I",
"insured": true,
"paymentMethods": ["cash", "check", "credit-card"],
"foundedYear": 1998
}
- Every field is optional, and only what you state is shown or published.
phoneis stored in E.164 (+, the country code and digits, 8 to 15 in all) and formatted when a page is built:+13605550142shows as(360) 555-0142, and the link istel:+13605550142. A number written any other way fails the build with a message that shows the shape. Admin accepts what you would type ((360) 555-0142) and stores the E.164 form.hourslists the days you want to state,mondaytosunday. A day is{ "open", "close" }in 24-hourHH:MM(close after open;24:00closes at midnight) or{ "closed": true }. A day you leave out is not stated. Pages group days that share hours ("Mon to Fri 8:00 am to 5:00 pm"). A day cannot run past midnight.tradeis one of the job trades (see Jobs, including your ownextraTrades). It picks the schema.org type:general-contractorisGeneralContractor,roofingRoofingContractor,plumbingPlumber,electricalElectrician,hvacHVACBusiness,paintingHousePainter,mobile-mechanicAutoRepair,auto-body-paintAutoBodyShop,locksmithLocksmith;excavation,flooringandlandscapinguseHomeAndConstructionBusiness, and anything else is a plainLocalBusiness.paymentMethodsis a list fromcash,check,credit-card,debit-card,bank-transfer,mobile-paymentandfinancing. Only the kind of payment is stored, never an account.licenseNumberandlicenseIssuer(the issuer needs the number) andinsuredearn the "Licensed and insured" badge.insuredis a claim you make; open.blog does not verify it.emailandphoneare business contact details you chose to publish. Nothing about customers is stored here.
Where it appears:
- Footer: a Business details block on every page, styled by the engine's
ob-businessrules with--ob-*tokens so every theme gets it (see Theme components). - Landing page: the Business facts section places the same block (heading of your choice) wherever you want it on the home page.
- Structured data: the home page carries a
LocalBusiness(or trade subtype) JSON-LD block with the name, legal name,url,telephone,email,foundingDate,openingHoursSpecification(closed days are left out, as schema.org expects),paymentAcceptedand the license ashasCredential. A field you did not state is not emitted. No address is emitted (the towns you serve areserviceAreas; see Service areas).
The stored object is versioned: a newer version is refused with a message and never rewritten, and fields this release does not know are kept when Admin saves.
Seasonal prompts#
seasonalPrompts turns on seasonal reminders and holds your changes to the bundled topics for your trade:
{ "version": 1, "enabled": true, "topics": [ { "id", "disabled", "start", "end", "topic", "prompt" } ] }.
Off and not written back unless stated. See Seasonal reminders.
Quote requests#
quote turns on the quote request form: { "enabled": true, "endpoint": "/api/quote", "notice": "..." }.
endpoint is a path on your site (the default /api/quote) or an https:// address, and notice is one optional
line under the form. Off and absent by default; with it off a quote fence stays a code block and the Landing
page quote-form section renders nothing. The requests go to a hosted Netlify function, so it does not work on a
site run on Render yet. See Quote requests.
Reviews#
reviews.aggregateMinimum is how many saved reviews with stars it takes before the Reviews page states an average
(AggregateRating): { "reviews": { "aggregateMinimum": 3 } }. A whole number from 1 to 1000; the default is 3, and
the member is not written while it has the default. See Reviews.
Share, analytics, related posts, snippets, CDN#
These are described in Sharing, views, analytics, and embeds.
share.networksacceptsx,bluesky,mastodon,linkedin,facebook,reddit,hackernews, andemail.analytics.campaigns(off by default) counts a page address'sutm_sourcewhen it names a destination and tags the links open.blog sends to Pinterest and shared-job places; see Where your posts went.analytics.fediverseHosts(omitted by default) is a list of up to 20 bare fediverse instance hosts, such ashachyderm.io; visits referred by them count asmastodon. The built-in counter also includes the social Mastodon instance when configured. Runopenblog analytics attributionfor the settings used by hosted counters.analytics.builtinturns the view counter inopenblog serveon or off;showViewscontrols the count shown on posts.endpointpoints pages at a counter hosted elsewhere,branchnames the git branch that backs the counts up, andbakeCountswrites the known counts into static builds. See Publishing from home.engagement.captcha(optional, off by default, omitted fromopenblog.jsonuntil set) protects hosted comments with a Cloudflare Turnstile challenge:providerisofforturnstile,siteKeyis the public site key (required forturnstile; letters, numbers,_and-; never a secret) andscopeissession(one challenge per tab session, the default) orevery-comment. The server enforces the same scope throughOPENBLOG_CAPTCHA_SCOPE, so the two must match. Secrets are Netlify environment variables; see the function setup guide. Readers pass the challenge when they first write in the form; locked and hidden discussions never show it.engagement.enabledadds hosted comments and analytics to static deployments;engagement.endpointis the public function URL. Database and moderation secrets stay in server environment variables or Admin's write-only private credential store.engagement.feedback(off by default) lets the hosted function accept typed passage feedback: questions, suggested sources and corrections, and other interpretations. It needs its own database table and server switch; see the function setup guide. It is the same as setting those four kinds tofollow-commentsinparticipation.kinds, where a kind you name takes precedence. With it on, each open post gets a "Questions and corrections" form after its navigation (locked and hidden posts get none); a post where only some kinds are open offers only those. A reader picks the whole post, a section or words they selected, the kind and their note; their name is optional and shown only if they agree. Without JavaScript, or when the service cannot take the note, the reader gets instructions or a copy of the note to send to the author.engagement.feedbackContact(optional) is where that copy can go: a plainmailto:address or anhttps:contact page, linked from the form. Moderate what readers send, with comments, in Studio's Readers; approved notes, with your responses, are kept incontent/reader-feedback.jsonand shown on the post's page only, and a site with feedback on publishes the post'sevidenceRevisionsnotes (ADR 0083).engagement.receipts(off by default, and left out of the file while off) adds "Check, clarify or withdraw a note you sent" to the form, where a reader uses the private receipt they were given; switch it on only once the hosted function issues receipts (supabase/protection.sqlandOPENBLOG_PROTECTION_ENABLED, see Privacy, retention and deletion).engagement.evidence(off by default, and left out of the file while off) adds an optional "Evidence" part to suggested sources and corrections: the reader picks a published claim, the evidence for it they question, a source the post cites or one the site publishes and where in it, and how they say it bears on the passage, from lists of what the site publishes, never a private id. Switch it on only once the hosted function stores evidence (supabase/feedback.sqlrun again andOPENBLOG_CORRECTIONS_ENABLED); it also lets you record a correction decision on such a note in the Readers inbox (ADR 0118).snippetsare raw HTML placed on every page (head,bodyEnd) or under every post (postFooter): third-party analytics, comments, newsletter forms.relatedPostsis how many related posts to show under each post;0hides the section.cdn.url, when set, serves assets from another origin.
Feeds#
rsswrites/rss.xml,jsonwrites/feed.json(JSON Feed 1.1),sitemapwrites/sitemap.xmland/robots.txt.llmswrites/llms.txt, a compact text index, and/llms-full.txt, the public article text in one retrieval-friendly document. This is an emerging answer-engine convention, not a ranking requirement; HTML, feeds, and the sitemap remain authoritative.portfolioSnapshotwrites/api/blog.json, a small list of the newest four posts for embedding on another site. See Showing your posts on another site.limitis the number of posts in the RSS and JSON feeds;fullContentincludes each post's HTML in them (good for readers and cross-posting; setfalsefor summaries only).
SEO and AI crawler policy#
aiSearchcontrols the explicitrobots.txtgroups for OAI-SearchBot, Claude-SearchBot, and PerplexityBot. Leave it on if you want those answer products to discover and cite the blog.aiTrainingindependently controls GPTBot, ClaudeBot, and Google-Extended. Turn it off to signal that those providers should not use future crawls for their documented training purposes without removing the blog from ordinary search.
These are crawler instructions, not access control. See SEO and answer discovery for the publishing checklist and analytics limitations.
Markdown#
smartPunctuationturns straight quotes and dashes into typographic ones.headingAnchorsadds a hover link to each section heading.tocDepthis the deepest heading level in the table of contents (2for##only);tocMinHeadingsis how many headings a post needs before it gets one.
Code blocks#
highlightcolours code blocks;lineNumbersnumbers blocks of two or more lines. Leave themnull(or out) to follow the theme, which turns both on by default. Settrueorfalseto decide for the whole blog whatever the theme says.copyButtonadds a Copy button to every code block.playgroundLinkoffers an Open in Rust Playground link beside runnable Rust examples, in the page, in portable copies, and in exports. Set it tofalseto hide the link everywhere; a single fence can still choose withplaygroundLink=trueorplaygroundLink=false. The Run Rust button is separate and stays.
A post can override highlight and lineNumbers in its front matter, and one code block
can override line numbers with its fence options (see Writing content).
The order is: the fence, then the post, then this setting, then the theme.
External code runner#
codeRunner is optional. With no endpoint, rust runnable keeps using the official Rust
Playground and every other configured-runner language stays a static code block. To enable an
independently hosted execution gateway:
"codeRunner": {
"endpoint": "https://runner.example.com/v1/execute",
"languages": ["python", "go"]
}
The endpoint must be HTTPS without credentials, a query, or a fragment. languages is an explicit
allowlist; Rust is routed through the gateway whenever an endpoint is present, and web always uses
open.blog's separate browser-preview sandbox. Unknown languages marked runnable remain ordinary
static fences. The endpoint is public and appears in generated HTML: never place a token, API key,
or private runner address in it.
See Deploying an execution gateway for the wire contract and runner isolation requirements.
Web sandbox#
webSandbox.libraries names script files that web runnable lessons can load with libs=.
open.blog bundles no libraries: put the exact builds you want under static/ (keeping their
license headers) and list them in load order. Paths must be root-relative files your site serves.
"webSandbox": {
"libraries": {
"react": ["/vendor/react.production.min.js", "/vendor/react-dom.production.min.js"],
"angular": ["/vendor/angular.min.js"]
}
}
The page fetches the files from your own site and inlines them into the lesson's preview, so the
preview still makes no network requests and the files need no special headers. Use UMD or other
classic-script builds that define a global, since lessons cannot import from the site.
A name can list several files: a framework that compiles components in the browser, such as
Svelte, can ship its compiler and a runtime bundle together, and the lesson compiles its own
component source before mounting it. Every listed file downloads with the page that uses it,
so keep large compilers to the lessons that need them.
See Writing content.
Recipes#
What readers get on posts using profile: recipe (legacy recipe: true also works; see
Writing content).
Every option is on by default; set one to false to leave that feature out.
scaling: buttons that scale the amount at the start of each ingredient to more or fewer servings. Shown only when the recipe has a number inservings.checklists: checkboxes to tick off ingredients and steps, remembered on the reader's device.timers: durations in steps ("bake for 25 minutes") become countdown buttons.cookMode: a "Cook mode" button that keeps the screen awake and enlarges the ingredients and steps. Browsers that cannot keep the screen awake do not show it.print: a "Print recipe" button that prints only the title, the summary, the ingredients, and the steps.jumpLink: a "Jump to recipe" link in the summary card.listing: the list of recipes at/recipes/, its course and cuisine pages, and the Recipes link in the navigation. A landing section that shows only recipes keeps working when this is off, without its link to the list. Admin then stops asking for a course or cuisine so that readers can browse by it.
Paths#
Folder names relative to openblog.json. output is wiped of stale files on every build,
so point it at a folder of its own. The build refuses an output folder that contains the
blog itself or that it did not create.
Knowledge checks#
Knowledge checks and their local reader interactions need no configuration. provider, model
and (for a custom https endpoint) generationEndpoint turn on the optional
writing helper: question generation, review and suggestions as you
type. They are set on Studio's Writing helper screen, together with the key, which is never
written to openblog.json: it is write-only from the page (set or not set, replace, remove; never
shown) and is refused over plain http except from the same computer. A key in the server
environment (ANTHROPIC_API_KEY, OPENAI_API_KEY..., or OPENBLOG_LESSONS_API_KEY for a custom
endpoint) takes precedence over a saved one. See The admin editor
for the endpoint contract and security boundary.
Admin#
Settings for the browser editor; see The admin editor.
usersFileholds usernames and password hashes. Keep it out of version control.sessionHoursis how long a login lasts.secureCookiesmust betruewhen the editor is served over HTTPS (it should be, whenever it is reachable from the internet).maxUploadMbcaps a picture published as it was sent. A larger photo is reduced to fit rather than refused; see Photo uploads.trustedProxieslists the addresses of reverse proxies in front of the server, so login limits and the view counter see real client addresses.signInUrlis for a site whose editor runs somewhere other than the published site (a static host for the site, a server for the editor). Set it to the editor's address, for examplehttps://editor.example.com/admin/, and the build writes an/admin/page that sends a visitor straight there, so the owner can type the site's own address and/adminto sign in. It must be a plainhttps://address; anything else writes no page. Leave it empty when the editor answers/adminitself, or when your host forwards/adminwith its own redirect rule.passesis for an editor people reach from another system you run, such as a client portal, with no second sign-in (Signing in with a pass). Passes work once the server is started withOPENBLOG_PASS_KEY.fromis thehttps://page people come in from andfromNamewhat to call it ("your Potomac Solutions portal"); the sign-in screen points there.only: trueturns the name-and-password sign-in off, so a pass is the only way in.
Publish#
How the Publish button and openblog publish commit and push; see
Publishing from home. paths lists what gets committed, includeDrafts
keeps drafts out of public history unless set, auto publishes after every save, and
pullFirst rebases on changes made elsewhere before pushing.
Syndication#
syndication.targets is a map of user-chosen destination names to DEV, Hashnode, Ghost,
WordPress, or manual Medium settings. stateFile points to private remote-ID state and
defaults to .openblog/syndication.json. requireApproval (off by default) makes
openblog syndicate --write send only a copy you previewed and approved with --approve;
approvals are private, in approvalFile (default .openblog/distribution-approvals.json). Both
files are refused inside the static, themes, web or output folder, which a build publishes. See
Preview and approve before sending.
Credentials are environment-only and never belong
in this file. See Cross-posting for setup and the
automated syndication specification for the exact fields,
credential names, and safety behavior.
Community submissions#
community turns on guided submissions with openblog submit (off by default; omitted from the file while unset).
hackerNews.enabled and reddit.enabled turn each destination on, and reddit.communities.<name> holds the rules you
copied from each community (rules, 1 to 30 lines), the day you last read them (reviewed, YYYY-MM-DD) and an
optional flair reminder. stateFile (default .openblog/community-submissions.json) keeps the submissions you
confirmed; it is refused inside the static, themes, web or output folder, which a build publishes. productHunt.enabled turns on Product Hunt launch kits, read from productHunt.launchDir (default
launches, one <slug>.json per post). There are no credentials. Only openblog submit reads or checks this
object. See Community submissions.
Webmention#
webmention is off and absent by default. enabled: true lets openblog webmention --write send
Webmentions to the sites a published post links; a dry run works without it. stateFile is the
private queue of outcomes (default .openblog/webmentions.json), and excludeHosts lists sites
(with their subdomains) that never receive one. A post opts out with webmentions: false in its
front matter. See Webmention.
{ "webmention": { "enabled": true, "excludeHosts": ["tracker.example"] } }
webmention.receive is off and absent by default too. With enabled: true and an https
endpoint (the hosted function's /api/webmention), each post that has not opted out advertises
the endpoint, the build writes openblog-webmention.json, and openblog mentions pull --write
takes and checks what other sites sent. inboxFile is the private moderation inbox (default
.openblog/webmention-inbox.json) and retentionDays (default 90) is how long
openblog mentions prune --write keeps what you did not approve. Approved mentions are published
in content/webmentions.json. See Receive Webmentions.
{ "webmention": { "receive": { "enabled": true, "endpoint": "https://blog.example.com/api/webmention" } } }
Knowledge Atlas#
knowledgeAtlas.publish (off by default) publishes the approved part of your private
Knowledge Atlas (in Studio, Research › Atlas: an entry or link is approved with Readers can see it, and
while this switch is off Studio says your blog doesn't publish the atlas yet): /atlas/, a page per approved entry at /atlas/<id>/, and the same data as
/atlas.json. Only entries you approved, and relationships you approved whose entries are both
approved, are published, each with who asserts it, its evidence, confidence, doubt and any
dissent; private notes, notebook passages and unapproved items never are. Datings you approved
on published items, each cited, are shown on the entry's page with who dates it, the evidence
and your note, competing datings side by side, and on a timeline at the end of /atlas/ that
reads without JavaScript. An entry with approved relationships also ends with a
relationship trail: the relationships around it, up
to three steps out, each with its direction, evidence and doubt, and never inferred. While it is
off, no build reads the atlas. Clearing an approval removes the item from the next build. Add
{ "label": "Atlas", "href": "/atlas/" } to nav to link it from the header. See the
Knowledge Atlas format.
The atlas is private and Git-ignored, so only a build that can read it publishes it:
openblog serve and Admin, or a local openblog build whose dist/ you then upload. A CI or
static-host build from the repository finds no atlas and publishes /atlas/ and /atlas.json
empty; openblog build and openblog check warn when publishing is on but no atlas is stored.
See Deploying.
Passage comparisons#
comparisons.publish (off by default) publishes the passage alignments you approved in Studio's
Research › Compare (Studio's Compare; while this switch is off, Compare says each
approved alignment isn't published yet): /comparisons/, a page per comparison at /comparisons/<id>/, and the same data as
/comparisons.json. Every place names its version, editor, translator, scribe or interpreters,
its locators and the rights statement you recorded for that version. Its wording is quoted
exactly only when you state the version's rights as permission, open licence, public domain or
your own work, and only up to 1,000 characters; a version whose rights are unknown or reserved
is identified but never quoted. Your notes on places, rights notes, notebook passage ids and
unapproved alignments are never published, and normalizations only when you choose. Rights
statements are your own declarations, never a legal judgement. While it is off, no build reads
the alignments file; clearing an approval removes the comparison from the next build. Like the
atlas, the alignments file is private and Git-ignored, so only a build that can read it publishes
comparisons, and build and check warn when it cannot. See the
passage alignments format.
Reading paths#
readingPaths.publish (off by default) is the switch for publishing reading paths,
the ordered routes you curate in Studio's Reading paths. While it is off you can write and
preview paths freely; nothing publishes them and /paths/ is not reserved. Turning it on reserves
/paths/, so a page named paths or a postPath that puts a post there is refused by the build and by
check; while it is off, check warns when you have path files beside such a page or post.
While it is on, each published path is a page at /paths/<slug>/ (see Pages and progress); /paths/ lists the paths you leave listed.
Listed paths are also linked from the posts and atlas entries they name, found by site search and listed in paths.json (Discovery). openblog paths export and openblog paths import <file> move paths between sites (Export and import).
Interpretation comparisons#
interpretations.publish (off by default) is the switch for publishing the interpretation comparisons
you write in content/comparisons or in Studio's Research › Readings side by side. While it is off nothing
publishes them and /interpretations/ is not reserved. Turning it on reserves /interpretations/, so a page
named interpretations or a postPath that puts a post there is refused by the build. Each published
comparison with at least two shown readings is a page at /interpretations/<slug>/; /interpretations/
lists them. Evidence appears only while claimEvidence.publish is on as well, and only for approved links of
approved claims and the sources they cite. A reading attributed to a source that is not published is left out
of the page, and the build warns you by comparison and item id. The files in content/comparisons are never
copied as static files.
Curated research context#
curatedContext.publish (off by default) turns on the curated-selection projection: Studio's
For readers (in Write › Your research) chooses what each post offers, and Research › What readers see (and the build's research summary) then lists what your private
.openblog/private/research/selections.json would give readers and why anything is withheld.
A selection can only pick what the atlas, comparison and source projections already publish (a
source must already be cited by a published post or published by the atlas or a comparison); it
never approves private research, never copies a note, and lists exactly the fields readers get. It
may be for the whole site or for named posts, in your order. A selection goes stale when what it
selects, or anything it needs, changes, and stays withheld until you check it and select it again.
While the switch is on, a selections file that cannot be read refuses build and check, naming the
file, and so also blocks publishing a shared reflection (an ordinary post save still succeeds, reporting
the failed build); a selected dating whose competing datings are not selected is a boundary: warning. While the
switch is off the file is never read and nothing changes. You choose what readers get from Selected
for readers in the Research panel beside a post. The file is private and Git-ignored with the other
research files. See
ADR 0185.
What readers get: while curatedContext.publish is on and at least one selection publishes, the build
writes curated-context.json, a versioned public data file (the published selections with their
attribution, doubt, evidence, provenance and the revision you selected, the context they need, and each
post's items in your order with a canonical anchor for each), and each post you offered something gets a
static Research context section after its text, complete without JavaScript. Both are read from the
one public value that Studio's What readers see lists, so they never disagree and neither can reach
a private note. With the switch off, or nothing selected, the site builds exactly as before; a file over
its bound is left out whole with a boundary: warning and the pages are unaffected. Portable copies, syndicated copies, full-content feeds and llms-full.txt carry it too, with a link back to the
canonical section (ADR 0202).
The comment you write for a selection is public, so the build's check for private text allows it: any words it shares with a private note are treated as public everywhere on the site, in every file, not only in the comment. The rest of that note stays protected, so write a comment fresh instead of pasting from a note. See the curated context format.
Reading modes#
readingModes.default (standard by default; guided or deep-dive) is the mode a post opens in
when it has supplements and opts in with readingModes: true but names no
default of its own. It never opts a post in. The order is the post's own
readingModes: {default: ...}, then this site default, then standard, and a reader's saved choice
beats all three. The key is optional and read tolerantly: a bare mode name works, and anything
else is read as standard instead of failing the configuration.
Reader annotations#
readerAnnotations.enabled (off by default) gives every post a "Your highlights and notes" region where a
reader can highlight words and keep private notes (see Reader annotations).
They are kept in that reader's own browser and are never sent to you, to the build or to any service. Turning
it on adds the region, the post's passage text and one script to each post; with it off, pages are unchanged.
It also adds a second region, "Your reading trails and saved sources", where a reader saves this post or a
reference it cites and builds trails by hand (see Reading trails and saved sources).
Nothing is recorded as a reader reads, and what they keep stays in their browser.
The same panel lets a reader export that data to a file, import one after a preview, turn the feature off in their
browser, and erase it (see Export, import and privacy controls).
Claim evidence#
claimEvidence.publish (off by default) publishes the claims and evidence links you approved in
Studio's Claims and evidence (in Write; the old Evidence Studio until it retires) with the posts they are about: each such post gains a "Claims and evidence"
section listing, for every approved claim, its supporting and contradicting evidence side by side
with the references, locations, your rationale, confidence and uncertainty, and the site gains
/claim-evidence.json with the same data. Support is never published while a contradicting link
on the same claim is private, and nothing is netted or scored. Revision notes you write in a
post's front matter as evidenceRevisions are published in the same section. While it is off, no
build reads the private claims file and every post is unchanged, except that a site with
engagement.feedback on still publishes revision notes (ADR 0083). Clearing an approval removes the
item from the next build. See the claims format.
The claims file is private and Git-ignored, so only a build that can read it publishes claim
evidence: openblog serve and Admin, or a local openblog build whose dist/ you then upload. A
CI or static-host build publishes no claims (revision notes still appear), and openblog build
and openblog check warn. See Deploying.
Reader participation#
Hosted comments keep their switches: engagement.comments and each post's comments:. Every
other way to take part is a participation kind, off until you switch it on in participation
(omitted while it has its defaults):
"participation": {
"kinds": { "question": "hidden", "third-perspective": "open", "abuse-report": "open" },
// Optional. Leave it out to keep comments as they are; see below.
"retention": { "pendingDays": 90, "clarificationDays": 30, "closedDays": 30, "auditDays": 365 }
}
kindstakesquestion,source-suggestion,correction-suggestion,alternative-interpretation,third-perspective,author-response,abuse-reportandfuture-suggestion(readers' questions and sources for future work, private to the editors; ADR 0152). Each isoff(the default: front matter cannot turn it on),hidden,lockedoropen(switched on, and the mode of posts that do not name it), orfollow-comments(each post's mode is itscomments:setting).abuse-reportisofforopenfor the whole site. A post chooses its own mode withparticipation:front matter.- Everything submitted starts pending, and only what a moderator approves is shown. Nothing is ever e-mailed to readers. Nothing is accepted without hosted engagement and an endpoint.
retention(days, 1 to 3650): unmoderated items expire afterpendingDays, unanswered clarification requests afterclarificationDays, the text of rejected and removed items and of upheld abuse reports is purged afterclosedDays(an accepted suggestion for future work is kept, but its private contact and unshown name are cleared afterclosedDays), and the private moderation record afterauditDays, which must be at leastclosedDays. Withoutretentionthese defaults apply to every kind except comments: hosted comments are kept as they always were, never expired or purged. Writingretentionyourself, even as"retention": {}for the defaults, applies it to comments too.- Once a kind beyond comments is switched on, builds also write
openblog-participation.json, the public map of each post's open and locked kinds that the hosted function checks. future-suggestionadds a "Suggest something for future work" region to each post where it isopen: a reader writes a question or suggests a text, video, audio or other source in their own words, with an optional public link, source details, the article it is about, a name they may be thanked by and an address they agree to be contacted at. It goes to the editors' private queue and never to a page; accepting one means only that the editors are interested. With hosted engagement the form sends through the function only whenengagement.receiptsis on and the function takes suggestions (OPENBLOG_SUGGESTIONS_ENABLED, see the function's guide); otherwise, and whenever the service cannot take it, the reader gets the suggestion to copy and send toengagement.feedbackContact. A site with no hosted service shows only that contact (and nothing when none is set). Editors read, decide and, for an accepted one, copy it into a private research note in the Readers inbox; its contact and unshown name are cleared afterretention.closedDays(ADRs 0158 to 0160).third-perspectiveadds an "Offer a Third Perspective" region to each post where it isopen: a reader writes their own reflection on the whole work or one section, may choose a prompt (never a score or a vote), and decides whether it may be published, whether their name may be shown and whether they may be asked to clarify it. The form sends through the hosted function only whenengagement.receiptsis on and the function takes Third Perspectives (OPENBLOG_THIRD_PERSPECTIVES_ENABLED, see the function's guide); otherwise, and whenever the service cannot take it, the reader gets their reflection to copy and send toengagement.feedbackContact. Moderators approve exactly the text and the consent they saw in the Readers inbox (ADRs 0113 and 0114). Approving one writes its public part tocontent/third-perspectives.json, versioned with the site; posts where the kind isopenorlockedshow those reflections in a "Third Perspectives" section, even without a hosted service, and portable copies, feeds andllms-full.txtlink there instead of carrying them (ADR 0115). A file that cannot be read stopsbuildandcheck, asreader-feedback.jsondoes. A reader who withdraws a reflection deletes the hosted copy of its text and name; the Moderation inbox then shows, on every tab, that it must come off its post, and the site Admin takes it off. Copies already published (the site's history, feeds and the repository's history) may remain, which is what the form and the withdrawal say to readers, and a name a reader chose to show becomes part of the site's public record. To roll the hosted opt-in back, emptycontent/third-perspectives.json(or hide the kind) first.author-responselets the author of one section of a shared reflection answer a Third Perspective about it. Where it isopenon a post whose body is an arranged shared reflection with a committed credits sidecar, the "Offer a Third Perspective" form also offers "One author's section", chosen by author and place (never a side of the page). In Studio, only the contributor bound to that section sees "Answer as ...", on a reflection that is shown, and the answer waits for a coordinator in the Readers inbox: it is never approved by the account that wrote it, only under a reflection that is shown now and about that very author's section, and its author can take it back. The hosted function needsOPENBLOG_AUTHOR_RESPONSES_ENABLED=trueon top of Third Perspectives and no SQL (the function's guide; ADRs 0131 to 0135). Where the kind is nothidden, an approved answer is published, with its reader's reflection, incontent/third-perspectives.jsonand shown on the post after that author's own section, labelled as the author's response (ADRs 0137 to 0139);lockedkeeps showing what was approved and takes nothing new, and a post that leaves the kindhiddenoroffis built exactly as before. Portable copies, feeds andllmsfiles only link to the canonical post.
The rules are recorded in ADRs 0101 to 0104.
Privacy, retention and deletion#
What the hosted service keeps, and how it goes, once you run the optional engagement protection schema (ADRs 0107 and 0108):
- Never stored: a reader's IP address, user agent, e-mail address or any identifier that lasts beyond an hour. Rate limits keep a salted digest of the client for the hour only; page analytics keep a daily digest that changes every day. Service credentials stay in Netlify and never reach Studio's page or the public site.
- Receipts: a reader who sends passage feedback gets a private receipt once; only its digest is stored. With it they can check on the note, agree to be asked to clarify it, answer a clarification request, or withdraw it. Nothing is ever e-mailed.
- Withdrawal and deletion: withdrawing by receipt deletes the note's text, details and the reader's name at once and keeps only its state and a record of decisions without text. If the note was published, the inbox tells you to take it off the post. For a reader who asks you some other way (a commenter, say), first reject or remove the item, then use Delete its text and name on it in the inbox.
- Abuse reports: anonymous, never published or counted, and taken only for an item that is public now. Upholding one removes the item in the same decision, or changes only the report if the item is already out of view.
- Retention: nothing is deleted on a schedule. In Readers › How readers reach you (keeping notes), check what
retention would do under the periods above, then run it. Pending items expire, the text of
closed items and upheld reports is purged after
closedDays, withdrawn text at once, and records of decisions afterauditDays. Comments are included only if you setretentionyourself.
Studio's words#
studio holds the site's changes to the words Studio (the new Admin) uses with the person who
writes: { "words": { "vars": { "helper": "Mikey", "owner": "Grammi" }, "text": { "cards.signOff": "Love, {owner}" } } }. vars names who helps her (helper), what she calls the blog (product)
and her name (owner, by default the first word of author.name); text changes sentences by
word id. Absent, Studio uses its built-in words, which name no particular owner. A bad entry is
dropped and reported in Studio's Home details and by openblog check; an unknown key under
studio or studio.words stops the configuration loading. A host serving many sites can set the
same in a file named by OPENBLOG_STUDIO_WORDS_PATH; the site wins per key. See
Studio's words for every id, the limits and examples.
studio.onboarding is "on" or "off" (absent means off): whether Studio's Getting started
shows by itself to an account that hasn't been through it. openblog init writes "on" for a new
site; an existing site without the key is unchanged. The server's OPENBLOG_STUDIO_ONBOARDING
wins over it when set, and is the only place for a round (on:<round>) or a practice run
(rehearse); any other value here is reported and treated as off. See
Getting started for a new owner.
Documentation section#
docs publishes content/docs/ as a tree of pages at /docs/ with a sidebar: { "enabled": true, "title": "Documentation", "source": "", "home": false }. home: true makes the documentation's index the home page in place
of the post list. Off and absent by default; while it is off, files in content/docs/ are not
published and the build says so. title is the sidebar's heading. source is where the folder can be read in a
repository viewer (such as https://github.com/you/project/blob/main/docs/): each page then links to its own
source, and links to files outside the folder point there. Documentation pages are in the site's search. See
Documentation sites.
Themes#
Themes are not configured here beyond theme, seasons and decorations; each theme has its own theme.json. See
Themes.
Seasons#
seasons changes the site theme with the calendar, for a site that decorates for holidays:
"seasons": {
"version": 1,
"enabled": true,
"windows": [
{ "theme": "thanksgiving", "start": "10-15", "end": "11-30" },
{ "theme": "christmas", "start": "12-01", "end": "01-06" }
]
}
While enabled, a build on a day inside a window wears that window's theme, and theme is the look
between seasons. Days are MM-DD in UTC, a window may cross the new year, and where two overlap the
first one listed wins. Every theme a window names must exist, or the build stops and says which. A
series, page or post with its own theme keeps it whatever the season. Off and not written back unless
stated. Studio's Decorations screen edits it. See Seasons.
Decorations#
decorations takes down, or swaps, single decorations a theme declares as pieces (its theme.json
decorations), by theme then piece. false takes a piece down; a name puts up that version of it:
"decorations": {
"christmas": { "garland": false, "wreath": "toyshelf" }
}
It names pieces and versions only, never CSS. A theme without the piece, or a version that no longer exists, is skipped at build time, so renaming a theme never stops a build; saving one through Admin is refused. Absent means every theme as it is. Studio's Decorations screen edits it. See Decoration pieces.