Field guide
Markdown guides, with an interface built from blocks.
Search a title, concept or command.
STATIC SITE GENERATOR
nuckty is for documentation, guides and content websites. Write content in Markdown and build the interface with TypeScript block templates.
{
"block": "card",
"content": [
{"elem":"title","content":"Field guide"},
{"elem":"description","content":"Markdown guides, with an interface built from blocks."}
]
}import { block } from 'nuckty';
export default function templates(): void {
block('card')({ tag: 'article' });
block('card').elem('title')({ tag: 'h2' });
block('card').elem('description')({ tag: 'p' });
}
<article class=card><h2 class=card__title>Field guide</h2><p class=card__description>Markdown guides, with an interface built from blocks.</article>Markdown guides, with an interface built from blocks.
BEMJSON describes the block. A nu template defines its markup.
Content, templates and build logic stay in your project.
Markdown becomes a BEMJSON tree. nu templates process both content and document blocks.
One file describes the page structure. Links to Markdown sources become website URLs.
Galleries, video, commands and build stages use the same register(env) contract.
Each target has its own language, domain and sitemap. This website builds Russian and English that way.
BUILD OUTPUT
Pages and assets, their compressed copies and a manifest. The build also prepares nginx and Apache configuration. The server does not need nuckty to serve the pages.
How the files are served →site/static artifacthtml/pagescss/ · js/hashed bundlessvg/ · png/ · …imagesbrotli/ · gzip/compressed copiesmanifest.jsonsizes and hashes.htaccessApache.build/nginx.conf — nginxDependencies → configuration → sitemap → Markdown → build.