← Notes

How this blog works

· David

Every post is a single markdown file in /content/blog/. Name the file YYYY-MM-DD-a-short-slug.md and the post publishes itself at /news/a-short-slug. No database, no admin login, no plugin updates.

Front matter

The block at the top of this file sets the title, date, author, summary, and tags. Only title is required. Add draft: true to keep a post off the live site while you work on it. Drafts still show up when you preview locally.

What you can write

Bold, italic, and inline code all work. So do links, like this one to the home page. Lists are straightforward:

Block quotes look like this. Useful for pulling a line out of a letter or a newspaper clipping.

Images go in /assets/img/ and are referenced by path:

![Alt text](/assets/img/example.jpg)

Publishing

Upload the .md file to /content/blog/ over FTP or the cPanel file manager. It appears on the site immediately. To unpublish, delete the file or set draft: true.

notes