A minimal blog built with Next.js.
Website: fightingentropy.org
Run the development server (Bun):
bun install
bun run dev
Run the production build (Bun):
bun run build
bun run start
Articles are written in Markdown and stored in the src/app/posts
directory.
To create a new article:
- Create a new
.md
file in thesrc/app/posts
directory - Add front matter at the top of the file:
---
title: "Your Article Title"
excerpt: "A brief description of your article"
date: "2023-01-01"
author: "Erlin"
---
Your content goes here...
- Write your content using Markdown syntax
- Save the file - it will automatically appear in the blog
To make a post private (not visible on the homepage but still accessible via direct URL):
- Add
private: true
to the front matter of the post:
---
title: "Your Private Article Title"
excerpt: "A brief description of your article"
date: "2023-01-01"
author: "Erlin"
private: true
---
Private posts:
- Won't appear on the homepage
- Can still be accessed by direct URL (/posts/your-post-slug)
- Will display a "Private" label next to their title