Bug fix
Fixed header title check logic
This commit is contained in:
parent
d82ededc4f
commit
758ea2f35a
2
index.pl
2
index.pl
@ -134,7 +134,7 @@ sub header {
|
||||
{attribute=>'http-equiv', value=>'Content-Type'},
|
||||
{attribute=>'content', value=>'text/html; charset=utf-8'});
|
||||
my $page = (split("/",$request[4]))[-1];
|
||||
$header .= html_tag('title',$site_name . $page ne "" ? " - ".$page : "");
|
||||
$header .= html_tag('title',$site_name . ($page ? " - ".$page : ""));
|
||||
$header .= include(@header_includes);
|
||||
$header .= html_tag(
|
||||
'meta',
|
||||
|
Loading…
x
Reference in New Issue
Block a user