replace data by content
This commit is contained in:
parent
dfcb6f41f9
commit
2b3e7491a2
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue