summaryrefslogtreecommitdiff
path: root/writing/index.php
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2022-10-08 18:46:02 -0700
committerKai Stevenson <kai@kaistevenson.com>2022-10-08 18:46:02 -0700
commit186e9555d0a9fa1910b5db306f2b62674b45acea (patch)
treefc3bf981288699652084b94b082735b9849bf2e9 /writing/index.php
parent7cdaa8b30fcd8ab333d11719dc4b280b28347a71 (diff)
applied PHP template to all pages, fixed some things
Diffstat (limited to 'writing/index.php')
-rw-r--r--writing/index.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/writing/index.php b/writing/index.php
index aab6642..7f6e165 100644
--- a/writing/index.php
+++ b/writing/index.php
@@ -1,9 +1,10 @@
<?php
-$title = "Hello, I'm Kai!";
-include($_SERVER["DOCUMENT_ROOT"] . "/head.php");
-include($_SERVER["DOCUMENT_ROOT"] . "/header.php");
+$title = "Writing";
+require($_SERVER["DOCUMENT_ROOT"] . "/head.php");
+require($_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
+<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>
@@ -12,4 +13,4 @@ include($_SERVER["DOCUMENT_ROOT"] . "/header.php");
<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
+<?php require($_SERVER["DOCUMENT_ROOT"] . "/footer.php"); ?> \ No newline at end of file