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,
|
title: String,
|
||||||
description: String,
|
description: String,
|
||||||
posts: Vec<PostMetadata>,
|
posts: Vec<PostMetadata>,
|
||||||
|
rss: bool,
|
||||||
df: DateFormat,
|
df: DateFormat,
|
||||||
js: bool,
|
js: bool,
|
||||||
}
|
}
|
||||||
|
@ -65,6 +66,7 @@ async fn index(
|
||||||
title: config.title.clone(),
|
title: config.title.clone(),
|
||||||
description: config.description.clone(),
|
description: config.description.clone(),
|
||||||
posts,
|
posts,
|
||||||
|
rss: config.rss.enable,
|
||||||
df: config.date_format.clone(),
|
df: config.date_format.clone(),
|
||||||
js: config.js_enable,
|
js: config.js_enable,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue