Initial commit

Initial commit

Add lua template
This commit is contained in:
2024-10-01 19:24:07 +08:00
commit 29502f6816
19 changed files with 2102 additions and 0 deletions

38
posts/hello-world.md Normal file
View File

@@ -0,0 +1,38 @@
# Hello World
Welcome to my blog! This is my first post written in Markdown and served by a custom Rust web server.
## Features
This blog supports:
- **CommonMark** markdown parsing
- Git-based cache invalidation
- Template-driven rendering
- Custom template tags
## Code Example
Here's a simple Rust function:
```rust
fn greet(name: &str) -> String {
format!("Hello, {}!", name)
}
```
## Lists
Unordered list:
- Item one
- Item two
- Item three
Ordered list:
1. First item
2. Second item
3. Third item
---
Thanks for reading!