configurable separator, .env.example
This commit is contained in:
parent
d751eb62a9
commit
ef6a190549
5 changed files with 39 additions and 14 deletions
|
|
@ -44,6 +44,7 @@ async fn index(State(state): State<Arc<AppState>>) -> Html<String> {
|
|||
&state.config.site_title,
|
||||
&entries,
|
||||
form,
|
||||
&state.config.separator,
|
||||
);
|
||||
Html(html)
|
||||
}
|
||||
|
|
@ -134,6 +135,7 @@ mod tests {
|
|||
max_website_length: 100,
|
||||
open_registration: true,
|
||||
template: None,
|
||||
separator: "---".into(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue