Anton Bakulin

Post Types

Contents

The type: frontmatter field controls how OnyxFolio registers and renders a note. There are four types.


Regular post (default)

No type: field (or any unrecognised value):

---
website: true
title: My Post
date: 2026-04-16
---

type: homepage

type: homepage

Each section can have at most one type: homepage. If multiple files in the same folder declare type: homepage, the last one loaded wins (undefined behaviour — avoid).


type: listing

type: listing

Each section can have at most one type: listing.

Auto-listing fallback

If a section has posts but no explicit listing or homepage file, OnyxFolio automatically creates a minimal listing route for that section. The title is derived from the folder name.


type: book

type: book

Typical use: book reviews, long essays, or any note where a prominent cover image + metadata header makes sense.


Choosing between listing and homepage

Need Use
Auto-generated post index for a section type: listing
Custom intro page for a section with your own content type: homepage
Site root with custom content type: homepage at vault root
Book/long-form post with cover image type: book
Regular post omit type

See also