diff --git a/src/template.rs b/src/template.rs index 837aa75..a4cd8c4 100644 --- a/src/template.rs +++ b/src/template.rs @@ -57,7 +57,7 @@ pub struct Metadata { #[derive(Content)] pub struct File { pub metadata: Metadata, - pub data: String, + pub content: String, } pub fn read_md(filename: &str) -> File { @@ -118,6 +118,6 @@ pub fn read_md(filename: &str) -> File { mermaid: presence_mermaid, syntax_highlight: presence_code, }, - data: html, + content: html, } }