.md in the data/posts directory.
The name of the file (not including the
.md extension) will be used as the post “slug”, the part that shows up in the URL. For example, for the file data/posts/vogon-poetry.md the URL would be something like example.com/posts/vogon-poetry.Front Matter
In order for a post to be recognized by Plume it must contain some metadata like a title and published date. This metadata is defined as “front matter”, that is, some YAML set between tripple-dashes (i.e.---) and must be the first thing in the file.
| Key | Type | Required | Details |
|---|---|---|---|
title | string | ✅️ | Post title |
published | string, int | ✅️ | Post publish date |
author | string | ❌️ | Post author |
image.url | string | ❌️ | Reference uploaded images as /files/image-name.png |
image.caption | string | ❌️ | Markdown allowed |
tags | array (of strings) | ❌️ | |
draft | boolean | ❌️ |
Markdown
Immediately following the front matter should be your post contents, authored in Markdown format. Plume supports the extended set of Markdown known as GitHub Flavored Markdown.TODO: Alerts (NOTE, TIP, IMPORTANT, etc.)
Post Images
To add images to your posts you may upload your images to thedata/files folder and reference them in your posts in markdown or raw HTML.
data/images/some-post/example.png can be added like so.