From ee65e8eefba9ebeca77aa447b4dbe1743a7a2849 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Sat, 11 Dec 2021 16:44:38 -0500 Subject: chore: organized index page, moved noscript, add links --- includes/nav.php | 8 ++++++++ includes/render_index.php | 24 ------------------------ index.php | 2 +- pages/index.php | 18 ++++++++++++++++++ pages/links.php | 4 ++++ 5 files changed, 31 insertions(+), 25 deletions(-) delete mode 100644 includes/render_index.php create mode 100644 pages/index.php diff --git a/includes/nav.php b/includes/nav.php index 03e9c5f..26f3913 100644 --- a/includes/nav.php +++ b/includes/nav.php @@ -60,4 +60,12 @@ + +
+ +
+ +
diff --git a/includes/render_index.php b/includes/render_index.php deleted file mode 100644 index d90627b..0000000 --- a/includes/render_index.php +++ /dev/null @@ -1,24 +0,0 @@ -
- -
- -

- The World Wide Web pages of Adam Carpenter (53hornet) -

- - diff --git a/index.php b/index.php index 3387ef9..c00e8b5 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ $page = strtok($_SERVER['REQUEST_URI'], '/'); if (empty($page)) { - include('./includes/render_index.php'); + include('./pages/index.php'); } else if (!empty($page) && $page[0] >= '0' && $page[0] <= '9' && is_readable("./posts/$page.php")) { include("./posts/$page.php"); } else if (!empty($page) && is_readable("./pages/$page.php")) { diff --git a/pages/index.php b/pages/index.php new file mode 100644 index 0000000..18476bc --- /dev/null +++ b/pages/index.php @@ -0,0 +1,18 @@ +

+ The World Wide Web pages of Adam Carpenter (53hornet) +

+ + diff --git a/pages/links.php b/pages/links.php index 6c75b67..6281f75 100644 --- a/pages/links.php +++ b/pages/links.php @@ -6,6 +6,10 @@

Automotive

+ +

*nix