novos 0.1.526

Build at the speed of thought - a self-contained, high-performance SSG
1
2
3
4
5
6
7
8
9
10
11
12
use std::time::SystemTime;
use serde::Serialize;

#[derive(Serialize)] // Add this
pub struct Post {
    pub slug: String,
    pub title: String,
    pub date: String,
    pub tags: Vec<String>,
    pub raw_content: String,
    pub mtime: SystemTime,
}