diff options
-rw-r--r-- | includes/nav.php | 8 | ||||
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | pages/index.php (renamed from includes/render_index.php) | 6 | ||||
-rw-r--r-- | pages/links.php | 4 |
4 files changed, 13 insertions, 7 deletions
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 @@ </li> </ul> </nav> + +<header> + <noscript> + JavaScript? Where we're going we don't need JavaScript. + </noscript> +</header> + + <hr /> @@ -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/includes/render_index.php b/pages/index.php index d90627b..18476bc 100644 --- a/includes/render_index.php +++ b/pages/index.php @@ -1,9 +1,3 @@ -<header> - <noscript> - JavaScript? Where we're going we don't need JavaScript. - </noscript> -</header> - <h1 style="text-align: center"> The World Wide Web pages of Adam Carpenter (53hornet) </h1> 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 @@ <h2>Automotive</h2> +<ul> + <li><a href="https://hudsonrestoration1948-54.com/">Hudson Stepdown Restoration (Ken "Yogi" Cates)</a></li> +</ul> + <h2>*nix</h2> <ul> |