summaryrefslogtreecommitdiff
path: root/lib/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/style.php')
-rw-r--r--lib/style.php5
1 files changed, 4 insertions, 1 deletions
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" />