Front matter allows people to embed metadata information inside notes. One common use case is to use Collected Notes as a CMS for posts containing extra information (like tags, custom layouts, or additional metadata).
Front matter allows you to customize the path for a note (instead of using the default path generated from the note title).
Here’s one example of a note containing a custom path, instead of the generated one: https://collectednotes.com/alejandro/some-custom-path
--- path: some-custom-path --- # testing how front matter takes precedence over this title Isn't this great!?
Another trick you can do is add an image inside front matter and that will be used as the embed image for the note. (That’s what I did for this note 😅)
--- title: Initial support for front matter tag: front matter, markdown, blogging image: ![frontmatter](https://photos.collectednotes.com/photos/14/5c93e0a5-8288-4b12-b1e4-e871f39a19fa) --- # Initial support for front matter …
We’re about to launch support for external static websites powered by Collected Notes. I think this will be a huge opportunity, allowing people to create custom websites with the convenience of updating them directly from Collected Notes. No re-deploy necessary.
Our first integration will work with Vercel, updates soon!