cleanup
This commit is contained in:
parent
e279281330
commit
c13b2a48e6
5 changed files with 7 additions and 8 deletions
|
@ -31,7 +31,7 @@ struct RandomContext {
|
|||
|
||||
#[get("/")]
|
||||
fn index() -> Template {
|
||||
let context = IndexContext { title: String::from("Lern die Märsch!") };
|
||||
let context = IndexContext { title: String::from("Gäll de kennsch mi nit?") };
|
||||
|
||||
Template::render("index", &context)
|
||||
}
|
||||
|
@ -55,10 +55,10 @@ fn random() -> Template {
|
|||
let file_title = chosen_one.file_stem().unwrap().to_str().unwrap();
|
||||
|
||||
let context = RandomContext {
|
||||
title: String::from(format!("♬ {}", file_title)),
|
||||
title: String::from(format!("♪ {}", file_title)),
|
||||
music_file: String::from(file_name),
|
||||
music_title: String::from(file_title),
|
||||
interval: 5,
|
||||
interval: 3,
|
||||
};
|
||||
|
||||
Template::render("random", &context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue