summaryrefslogtreecommitdiff
path: root/writing
diff options
context:
space:
mode:
Diffstat (limited to 'writing')
-rw-r--r--writing/cryptography.php (renamed from writing/cryptography.html)0
-rw-r--r--writing/index.html19
-rw-r--r--writing/index.php15
3 files changed, 15 insertions, 19 deletions
diff --git a/writing/cryptography.html b/writing/cryptography.php
index 7fb73c0..7fb73c0 100644
--- a/writing/cryptography.html
+++ b/writing/cryptography.php
diff --git a/writing/index.html b/writing/index.html
deleted file mode 100644
index 6ee4ec9..0000000
--- a/writing/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<head>
- <link rel="stylesheet" href="/style.css">
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
-</head>
-
-<body>
- <div class="contentpane">
- <h1>Writing | <a class="backbutton" href="../">[Back]</a></h1>
- <p>This is the index page for my writing. Obviously, if you follow the links below, you can read things I've
- written.
- Whether or not you want to do that is up to you.
- </p>
- <ul>
- <li>
- <h2><a href="cryptography.html">Cryptography</a> /* Keep yourself safe */</h2>
- </li>
- </ul>
- </div>
-</body> \ No newline at end of file
diff --git a/writing/index.php b/writing/index.php
new file mode 100644
index 0000000..aab6642
--- /dev/null
+++ b/writing/index.php
@@ -0,0 +1,15 @@
+<?php
+$title = "Hello, I'm Kai!";
+include($_SERVER["DOCUMENT_ROOT"] . "/head.php");
+include($_SERVER["DOCUMENT_ROOT"] . "/header.php");
+?>
+<p>This is the index page for my writing. Obviously, if you follow the links below, you can read things I've
+ written.
+ Whether or not you want to do that is up to you.
+</p>
+<ul>
+ <li>
+ <h2><a href="cryptography.php">Cryptography</a> /* Keep yourself safe */</h2>
+ </li>
+</ul>
+<?php include($_SERVER["DOCUMENT_ROOT"] . "/footer.php"); ?> \ No newline at end of file