Fix head tag
This commit is contained in:
parent
f57b2452f9
commit
b521291863
@ -135,7 +135,7 @@ async fn route_index(
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<html>\n");
|
||||
out.push_str("<header><title>Nur Ausstieg</title></header>\n");
|
||||
out.push_str("<head><title>Nur Ausstieg</title></head>\n");
|
||||
out.push_str("<body>\n");
|
||||
out.push_str("<h1>Nur ausstieg</h1>\n");
|
||||
out.push_str("<p>Es gibt Züge die innerhalb Berlins fahren, aber nicht im Fahrplan Routing der DB auftauchen, weil sie entweder in Berlin enden oder in Berlin beginnen.<br>\n");
|
||||
@ -169,7 +169,7 @@ async fn route_station_overview(
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<html>\n");
|
||||
out.push_str(&format!("<header><title>Ziele für {} | Nur Ausstieg</title></header>\n", station_properties.name));
|
||||
out.push_str(&format!("<head><title>Ziele für {} | Nur Ausstieg</title></head>\n", station_properties.name));
|
||||
out.push_str("<body>\n");
|
||||
out.push_str(&format!("<h1>Ziele für {}</h1>\n", station_properties.name));
|
||||
out.push_str("<ul>\n");
|
||||
@ -236,7 +236,7 @@ async fn route_station_to_dest_station(
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<html>\n");
|
||||
out.push_str(&format!("<header><title>Abfahrten für {} nach {} | Nur Ausstieg</title></header>\n", station_properties.name, dest_station_properties.name));
|
||||
out.push_str(&format!("<head><title>Abfahrten für {} nach {} | Nur Ausstieg</title></head>\n", station_properties.name, dest_station_properties.name));
|
||||
out.push_str("<body>\n");
|
||||
out.push_str(&format!("<h1>Abfahrten für {} nach {}</h1>\n", station_properties.name, dest_station_properties.name));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user