forked from slonk/bingus-blog
fixup app.rs from merge confliict
This commit is contained in:
parent
1a6dcc2c17
commit
9dfe0ebddf
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ struct IndexTemplate {
|
|||
title: String,
|
||||
description: String,
|
||||
posts: Vec<PostMetadata>,
|
||||
rss: bool,
|
||||
df: DateFormat,
|
||||
js: bool,
|
||||
}
|
||||
|
@ -65,6 +66,7 @@ async fn index(
|
|||
title: config.title.clone(),
|
||||
description: config.description.clone(),
|
||||
posts,
|
||||
rss: config.rss.enable,
|
||||
df: config.date_format.clone(),
|
||||
js: config.js_enable,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue