remove useless fields

This commit is contained in:
Mylloon 2023-10-21 23:38:10 +02:00
parent a43d84de06
commit 817db5e682
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -8,13 +8,11 @@ use std::fs;
#[derive(Default, Deserialize, Content, Debug)]
pub struct FileMetadataBlog {
pub title: Option<String>,
pub link: Option<String>,
pub date: Option<Date>,
pub description: Option<String>,
pub publish: Option<bool>,
pub tags: Option<Vec<Tag>>,
pub toc: Option<bool>,
pub language: Option<String>,
}
#[derive(Default, Deserialize, Content, Debug)]