index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/style.php | 5 |
diff --git a/lib/style.php b/lib/style.php index 3527994..ea7d4b2 100644 --- a/lib/style.php +++ b/lib/style.php @@ -11,7 +11,10 @@ function print_header($title) { <html lang="en"> <head> <meta charset="utf-8" /> - <title>Arch Linux 32 - <?php print $title; ?></title> + <title>Arch Linux 32<?php +if (!empty($title)) + print " - " . $title; +?></title> <link rel="stylesheet" type="text/css" href="/static/archweb.css" media="screen, projection" /> <link rel="icon" type="image/x-icon" href="/static/favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" /> |