Publishing Notes
Contents
Minimum frontmatter
The only required field is website: true:
---
website: true
---
That's a valid published note. Everything else is optional.
URL derivation
The URL is derived from the note's location in the vault:
blog/My Post.md→/blog/my-postgallery/arts/Photo.md→/gallery/arts/photoAbout.md(vault root) →/about
The slug part comes from the title, following these rules:
- Spaces become hyphens
- Text is lowercased
- Non-ASCII characters are transliterated to ASCII (e.g. Cyrillic, Greek)
- Special characters are stripped
Title resolution order
InkStone resolves the post title in this priority order:
title:in frontmatter- First
# H1heading in the note body - The filename (without
.md)
YAML quoting warning
Any frontmatter value containing a colon must be quoted, or YAML will silently break it:
title: From Vault to Web: How This Blog Works
# CORRECT
title: "From Vault to Web: How This Blog Works"
InkStone logs a warning and falls back to the H1/filename when it detects a broken title.
To include literal quote characters in a title, use single-quote wrapping:
title: '"Hello World" Considered Harmful'
# → renders as: "Hello World" Considered Harmful
Manual slug override
Use slug: to set the URL slug explicitly, bypassing title transliteration:
---
website: true
title: "Привет мир"
slug: hello-world
---
The note will be served at /hello-world instead of /privet-mir regardless of the title.
For the full list of frontmatter fields, see Frontmatter Reference.
InkStone