We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7934c13 commit 7ba45d6Copy full SHA for 7ba45d6
front_matter/src/lib.rs
@@ -1,10 +1,12 @@
1
use eyre::bail;
2
use serde::{Deserialize, Serialize};
3
+use toml::value::Date;
4
5
/// The front matter of a markdown blog post.
6
#[derive(Debug, PartialEq, Serialize, Deserialize)]
7
pub struct FrontMatter {
8
pub layout: String,
9
+ pub date: Date,
10
pub title: String,
11
pub author: String,
12
pub description: Option<String>,
0 commit comments