summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1167f1a..be663fe 100644
--- a/index.php
+++ b/index.php
@@ -15,5 +15,7 @@
$template_data = join('', file('templates/' . $template));
- echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => GetPage($page)));
+ $data = GetPage($page);
+
+ echo Subst($template_data, array('title' => $title . ' - ' . $data['title'], 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => $data['content']));
?>