aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorNathan Lasseter <nathan@4574.co.uk>2014-06-07 10:05:49 +0000
committerNathan Lasseter <nathan@4574.co.uk>2014-06-07 10:05:49 +0000
commit6d03e10297392a4b8092a7b27258b2b9abc96a16 (patch)
treee96d482b04fe21da670a5a5b293da3cfd2534bac /index.php
parent2042d69d950545dfbe9389cde66e9a35654d5ec3 (diff)
General refactor to make title and summarise for RSS and tidying
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/index.php b/index.php
index 1eac730..a04cb39 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,6 @@
<?php
require("settings.php");
+ require("functions.php");
?>
<!DOCTYPE html>
<html>
@@ -7,16 +8,12 @@
<head>
<title><?php echo $blogTitle; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $blogRoot; ?>styles.css" />
+ <link href="feed" type="applictaion/atom+xml" rel=alternate" title="Atom Feed" />
</head>
<body>
-<div id="title">
-<h1><?php echo $blogHead; ?></h1>
-<a class="toplink" href="<?php echo $blogRoot; ?>">Home</a>
-<a class="toplink" href="<?php echo $blogRoot; ?>archives.php">Archives</a>
-<a class="toplink" href="<?php echo $blogRoot; ?>post.php">Post</a>
-</div>
+<?php title(); ?>
<?php
$start = 0;