Skip to content

Post settings ​

Save posts as posts/*.md. The filename sets the path: posts/my-post.md becomes /my-post.

Frontmatter ​

Wrap YAML metadata in --- at the top of the file. Quote dates so YAML treats them as strings.

yaml
---
title: Example post
date: '2026-10-30 09:00:00'
author: ZL Asica
thumbnail: /images/example.jpg
tags:
  - Markdown
categories:
  - Tutorials
showComments: true
showLicense: true
showThumbnail: true
autoSlug: true
status: published
---
FieldPurpose and default
titleTitle, up to 100 characters. Falls back to the filename
datePublication date as 'YYYY-MM-DD' or 'YYYY-MM-DD HH:mm:ss'. Falls back to file modification time
authorAuthor, up to 30 characters. Falls back to the author in config.yml
thumbnailImage path. Falls back to background in config.yml
tags, categoriesArrays of strings, case-sensitive
redirectRedirect destination. The article redirects instead of rendering its content
showCommentsShow comments, default true. Requires a configured comment service
showLicenseShow the license notice, default true
showThumbnailShow the thumbnail, default true
autoSlugShow hierarchical numbering before body headings, default true. Does not change the post URL
statusPost visibility, default published

Visibility ​

StatusProduction pagePost list and searchRSS, sitemap, LLM filesSearch engine indexing
publishedAvailableIncludedIncludedAllowed
unlistedAvailable by URLExcludedExcludednoindex
draft404 by defaultIncluded when preview is enabledExcludednoindex
hiddenAlways 404ExcludedExcludednoindex

Drafts are available in development. To preview drafts in a production build, set ALLOW_DRAFTS=true when building and running the app. Hidden posts are available only outside production with ALLOW_HIDDEN=true. This setting cannot enable them in production.

Anyone with the URL can access an unlisted post. Visibility settings do not provide access control.

Excerpts ​

Use <!--more--> to choose the source of the excerpt:

markdown
This is the excerpt.

<!--more-->

The rest of the post goes here.

The excerpt uses content before the marker, truncated to 150 characters before Markdown cleanup. Without a marker, it uses the beginning of the post.

Documentation licensed under CC BY 4.0