Commit 4ec58309 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Only show station name in page title

parent de532515
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ sub handle_request {
	}

	$self->stash( departures => [] );
	$self->stash( title      => 'db-infoscreen' );
	$self->stash( title      => 'DBF' );
	$self->stash( version    => $dbf_version );

	if ( defined $station and $station =~ s{ [.] txt $ }{}x ) {
@@ -863,7 +863,7 @@ sub handle_request {
			$template,
			departures       => \@departures,
			version          => $dbf_version,
			title            => "Abfahrtsmonitor $station_name",
			title            => $station_name,
			refresh_interval => $template eq 'app' ? 0 : 120,
			hide_opts        => $hide_opts,
			hide_low_delay   => $hide_low_delay,
+1 −1
Original line number Diff line number Diff line
<!DOCTYPE html>
<html lang="de">
<head>
	<title><%= stash('title') // 'db-infoscreen' %></title>
	<title><%= stash('title') // 'DBF' %></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="keywords" content="Abfahrtsmonitor, Bahnhofstafel, Abfahrten, Abfahrtstafel, ICE, IC, RE, RB, S-Bahn">