lesssagoo

This commit is contained in:
rattatwinko
2025-06-16 17:06:26 +02:00
parent 037c7cd31e
commit 439d673e8f
9 changed files with 323 additions and 52 deletions

22
posts/test-post.md Normal file
View File

@@ -0,0 +1,22 @@
---
title: "Testing Hot Reloading"
date: "2024-03-10"
tags: ["test", "feature"]
summary: "A test post to demonstrate hot reloading and date-based sorting"
---
# Testing Hot Reloading
This is a test post to demonstrate the hot reloading feature of our blog system. When you add or modify a post, the changes should appear immediately without needing to refresh the page.
## Features Being Tested
1. Hot reloading of new posts
2. File creation date sorting
3. Real-time updates
## How It Works
The system uses `chokidar` to watch the `posts/` directory for changes. When a new file is added or modified, the blog automatically updates to show the latest content.
The posts are sorted by their file creation date, so newer posts appear at the top of the list.