Skip to content
sitekit

Content

How a markdown file becomes a page.

Title and description

The title is the title in the frontmatter, else the first # heading, else the file name. The description is the description in the frontmatter, else the first paragraph of prose. Badges, tables, quotes, HTML and code blocks are skipped, and a # comment inside a code block is never read as a title.

Order

Pages sort by file name. Put order: 1 in the frontmatter to move a page up.

Write ordinary relative links, the ones that also work on GitHub.

The link points atIt becomes
Another published pageThe route of that page
A repository file that is not on the siteA link to it on the repository host
A file you excludedIts text only, with a warning
A file that does not existLeft as written, with a warning

Links inside code are never touched.

Exclude and replace

anonymize.excludePaths keeps files from being read at all. anonymize.replace swaps literal text everywhere, for a client name or an internal host.