We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
How it works
A page is a document, not page code.
Alnitak keeps each page as a document of blocks, and every block says what it is: a heading and its level, a quote and who said it, a photo and its caption. The theme, the style template and the recipes are kept beside the blocks, not inside them.
content
{
"blocks": [
{
"id": "forms-title",
"type": "title",
"level": "h2",
"translations": {
"en": "Readers can write back.",
"el": "Οι αναγνώστες μπορούν να σας γράψουν."
}
}
]
}styling
{
"theme": "alnitak-light",
"template_slug": "alnitak-light",
"block_styles": {
"forms-title": {
"recipes": ["studio-heading"]
}
}
}
A heading from the readers page, as stored: the words in one field, the look in another. In the editor you can edit both as JSON.
Three parts, kept apart.
The document
Blocks with their fields, every text in all its languages, and photos and other pages named by reference. This is what people and agents edit, and what every version keeps.
The look
A theme, a style template and recipes, chosen for the site and changed for any page. They are stored beside the blocks, so a new design never touches the words.
The renderer
What turns the two into something to read: a web page in the reader’s language, a PDF, or a picture for an agent to check. The document stays the same.
Blocks
Every block says what it is.
A title is not just big text: it knows its level. A quote knows who said it. A photo keeps its caption, and a description for people who cannot see it. That is what lets one page serve a browser, a screen reader, a search engine and an agent alike.
Each kind of block has one definition. The editor’s fields, the API’s checks, the comparison of versions and the site’s search all follow it, so they never disagree about what a page holds.
| Block | What it keeps |
|---|---|
| Title | its words in every language, and its level, h1 to h4 |
| Quote | the words, and who said them |
| Photo | which photo, its caption, and a description for people who cannot see it |
| Map | the place, as latitude and longitude, and how close to zoom |
| Link | where it goes, and its label in every language |
| Stack | the blocks it holds, side by side or one above the other |
Renderers
One document, read many ways.
The same page, unchanged, is read by everything that shows it or works with it.
| Who reads it | What it makes |
|---|---|
| The browser | the page, in the site’s theme and the reader’s language |
| Search | every text, in every language, for the site’s search |
| Version history | what changed, block by block and word by word |
| An agent | the page as JSON through the API, and as a picture before it saves |
| Paper, in preview | a PDF set on A4: add .pdf to any page’s address |
Built to last
Designs date. Your pages don’t have to.
Because the look is kept apart, a new theme next year restyles every page without rewriting one. Because the format is documented, and is the very one Alnitak works in, your pages are never locked inside it: the API reads every page, in every language and every version, as plain JSON, and the definition of every block says what each of its fields means.
There is no export format to hope for, and no second copy to keep in step: what you edit is what you keep.