diff options
author | 53hornet <atc@53hor.net> | 2021-12-11 16:44:38 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-11 16:44:38 -0500 |
commit | ee65e8eefba9ebeca77aa447b4dbe1743a7a2849 (patch) | |
tree | bfd1820a01ebdd42ee71aae343ea0274d4835eb3 | |
parent | 69cf2d0ab47f0389ee7dbc594d99db0e99c2c63c (diff) | |
download | 53hor-ee65e8eefba9ebeca77aa447b4dbe1743a7a2849.tar.xz 53hor-ee65e8eefba9ebeca77aa447b4dbe1743a7a2849.zip |
chore: organized index page, moved noscript, add links
-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> |