about summary refs log tree commit diff
diff options
context:
space:
mode:
author1970-01-01 00:00:00 +0000
committer2025-01-01 19:17:14 +0000
commit0fa0fdebf092fb1eeb08644014d0dc57ff486e49 (patch)
tree5dcca3c64f59b8b42b9899dafaf7360909d2b51b
parentmin (diff)
downloadw-0fa0fdebf092fb1eeb08644014d0dc57ff486e49.tar
w-0fa0fdebf092fb1eeb08644014d0dc57ff486e49.tar.gz
w-0fa0fdebf092fb1eeb08644014d0dc57ff486e49.tar.bz2
w-0fa0fdebf092fb1eeb08644014d0dc57ff486e49.tar.xz
w-0fa0fdebf092fb1eeb08644014d0dc57ff486e49.zip
site generation
-rw-r--r--404.html2
-rw-r--r--README14
-rw-r--r--e/index.html2
-rw-r--r--e/m.htm24
-rwxr-xr-xgen18
-rw-r--r--gh/index.html2
-rw-r--r--gh/m.htm25
-rw-r--r--gh/w/index.html2
-rw-r--r--gh/w/m.htm25
-rw-r--r--gh/wf/index.html2
-rw-r--r--gh/wf/m.htm25
-rw-r--r--h/index.html2
-rw-r--r--h/m.htm25
-rw-r--r--index.html2
-rw-r--r--m.htm40
-rw-r--r--p/index.html2
-rw-r--r--p/m.htm27
-rw-r--r--w/index.html2
-rw-r--r--w/m.htm71
-rw-r--r--wf/m.htm25
20 files changed, 79 insertions, 258 deletions
diff --git a/404.html b/404.html
index ff4d260..39e3817 100644
--- a/404.html
+++ b/404.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><meta http-equiv="refresh" content="5;url='h'" /><link rel="stylesheet" type="text/css" href="s/m.css" /><link rel="icon" type="image/png" href="i/me.png" /><title>Error</title></head><body><div id="m"><div id="h"><img src="i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="h">HOME</a> : <a href="p">PROJECTS</a> : <a href="w">ABOUT</a></div><div id="b"><h2>ENOENT</h2><p>Redirecting in 5s</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=h" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="s/m.css" /><link rel="icon" type="image/png" href="i/me.png" /><title>Error</title></head><body><div id="m"><div id="h"><img src="i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="h">HOME</a> : <a href="p">PROJECTS</a> : <a href="w">ABOUT</a></div><div id="b"><h2>ENOENT</h2><p>Redirecting in 5s</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/README b/README
index c31bca2..93b45b3 100644
--- a/README
+++ b/README
@@ -16,13 +16,13 @@ It's turned out to be a fantastic excuse to learn HTML,
 CSS, and Git
 
 2024/10/16
-There's now sitemap navigation which makes jumping to a
-specific page easy, it also works great for documenting the
-purpose of each page. I also added a photo of myself to the
-header, making it less plain/empty looking. The header photo
-also works great as a favicon. Another thing I did was adding
-backgrounds, one for dark mode and one for light mode. I'm
-not sure how long I'll end up keeping the backgrounds, but
+There's now sitemap navigation which is nice for jumping to
+a specific page, it's also great for documenting the purpose
+of each page. I also added a photo of myself to the header,
+making it less empty looking. The header photo also works
+good as a favicon. Another thing I did was adding background
+images, one for dark mode and one for light mode. I'm not
+sure how long I'll end up keeping the backgrounds, but
 they're fun for the time being
 
 2024/06/15
diff --git a/e/index.html b/e/index.html
index 57ea404..c8c0b26 100644
--- a/e/index.html
+++ b/e/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><meta http-equiv="refresh" content="5;url='../h'" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Error</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>ENOENT</h2><p>Redirecting in 5s</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=../h" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Error</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>ENOENT</h2><p>Redirecting in 5s</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/e/m.htm b/e/m.htm
index 23e2d37..c6cc464 100644
--- a/e/m.htm
+++ b/e/m.htm
@@ -1,25 +1,3 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<meta http-equiv="refresh" content="5;url='../h'" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="../i/me.png" />
-<title>Error</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../h">HOME</a> :
- <a href="../p">PROJECTS</a> :
- <a href="../w">ABOUT</a>
-
-</div><div id="b">
-
+Error,../,../h
 <h2>ENOENT</h2>
 <p>Redirecting in 5s</p>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/gen b/gen
new file mode 100755
index 0000000..16a79fa
--- /dev/null
+++ b/gen
@@ -0,0 +1,18 @@
+#!/usr/bin/env sh
+# generate site
+find -name "m.htm" -exec sh -c '
+	title=$(head -n1 ${1%/*}/m.htm | cut -d, -f1)
+	subdir=$(head -n1 ${1%/*}/m.htm | cut -d, -f2)
+	redirect=$(head -n1 ${1%/*}/m.htm | cut -d, -f3)
+	(cat h.htm; tail -n+2 ${1%/*}/m.htm; cat f.htm) >${1%/*}/index.html
+	sed -i "s,<title>,<title>$title," ${1%/*}/index.html
+	sed -i "s,href=\"//,href=\"http://,g" ${1%/*}/index.html
+	sed -i "s,href=\"/,href=\"$subdir,g" ${1%/*}/index.html
+	sed -i "s,src=\"/,src=\"$subdir,g" ${1%/*}/index.html
+	sed -zi "s,\n,,g" ${1%/*}/index.html
+	if [ "$(head -n1 ${1%/*}/m.htm | tr -cd ",")" = ",," ];
+	then
+		sed -i "s,8\",8\"\ \/\>\<meta\ http-equiv=\"refresh\"\ content=\"0\;url=$redirect\"," ${1%/*}/index.html
+	fi
+' sh {} \;
+sed "s/\.\.\///g" e/index.html >404.html
diff --git a/gh/index.html b/gh/index.html
index 075d519..b00ef70 100644
--- a/gh/index.html
+++ b/gh/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url='http://github.com/porterswanstrom'" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom">http://github.com/porterswanstrom</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://github.com/porterswanstrom" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom">http://github.com/porterswanstrom</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/gh/m.htm b/gh/m.htm
index 1a71e91..12ba533 100644
--- a/gh/m.htm
+++ b/gh/m.htm
@@ -1,27 +1,4 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta http-equiv="refresh"
- content="0;url='http://github.com/porterswanstrom'" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="../i/me.png" />
-<title>Redirecting</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../h">HOME</a> :
- <a href="../p">PROJECTS</a> :
- <a href="../w">ABOUT</a>
-
-</div><div id="b">
-
+Redirecting,../,http://github.com/porterswanstrom
 <h2>Redirecting</h2>
 <a href="http://github.com/porterswanstrom">
 http://github.com/porterswanstrom</a>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/gh/w/index.html b/gh/w/index.html
index 229f4f0..0deeb9b 100644
--- a/gh/w/index.html
+++ b/gh/w/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url='http://github.com/porterswanstrom/w'" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../../s/m.css" /><link rel="icon" type="image/png" href="../../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../../h">HOME</a> : <a href="../../p">PROJECTS</a> : <a href="../../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom/w">http://github.com/porterswanstrom/w</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://github.com/porterswanstrom/w" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../../s/m.css" /><link rel="icon" type="image/png" href="../../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../../h">HOME</a> : <a href="../../p">PROJECTS</a> : <a href="../../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom/w">http://github.com/porterswanstrom/w</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/gh/w/m.htm b/gh/w/m.htm
index 5fd7666..03018e6 100644
--- a/gh/w/m.htm
+++ b/gh/w/m.htm
@@ -1,27 +1,4 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta http-equiv="refresh"
- content="0;url='http://github.com/porterswanstrom/w'" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../../s/m.css" />
-<link rel="icon" type="image/png" href="../../i/me.png" />
-<title>Redirecting</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../../h">HOME</a> :
- <a href="../../p">PROJECTS</a> :
- <a href="../../w">ABOUT</a>
-
-</div><div id="b">
-
+Redirecting,../../,http://github.com/porterswanstrom/w
 <h2>Redirecting</h2>
 <a href="http://github.com/porterswanstrom/w">
 http://github.com/porterswanstrom/w</a>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/gh/wf/index.html b/gh/wf/index.html
index fe5bce2..9ffb209 100644
--- a/gh/wf/index.html
+++ b/gh/wf/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url='http://github.com/porterswanstrom/wf'" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../../s/m.css" /><link rel="icon" type="image/png" href="../../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../../h">HOME</a> : <a href="../../p">PROJECTS</a> : <a href="../../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom/wf">http://github.com/porterswanstrom/wf</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://github.com/porterswanstrom/wf" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../../s/m.css" /><link rel="icon" type="image/png" href="../../i/me.png" /><title>Redirecting</title></head><body><div id="m"><div id="h"><img src="../../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../../h">HOME</a> : <a href="../../p">PROJECTS</a> : <a href="../../w">ABOUT</a></div><div id="b"><h2>Redirecting</h2><a href="http://github.com/porterswanstrom/wf">http://github.com/porterswanstrom/wf</a></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/gh/wf/m.htm b/gh/wf/m.htm
index 1e3e899..456a5de 100644
--- a/gh/wf/m.htm
+++ b/gh/wf/m.htm
@@ -1,27 +1,4 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta http-equiv="refresh"
- content="0;url='http://github.com/porterswanstrom/wf'" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../../s/m.css" />
-<link rel="icon" type="image/png" href="../../i/me.png" />
-<title>Redirecting</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../../h">HOME</a> :
- <a href="../../p">PROJECTS</a> :
- <a href="../../w">ABOUT</a>
-
-</div><div id="b">
-
+Redirecting,../../,http://github.com/porterswanstrom/wf
 <h2>Redirecting</h2>
 <a href="http://github.com/porterswanstrom/wf">
 http://github.com/porterswanstrom/wf</a>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/h/index.html b/h/index.html
index b571d9a..bbe08a0 100644
--- a/h/index.html
+++ b/h/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="i/me.png" /><title>Home</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><p>This site is currently still being built, read the <a href="../w">log</a> to see what's been done so far</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Home</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><p>This site is currently still being built, read the <a href="../w">log</a> to see what's been done so far</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/h/m.htm b/h/m.htm
index 4f4ada3..2462d82 100644
--- a/h/m.htm
+++ b/h/m.htm
@@ -1,24 +1,3 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="i/me.png" />
-<title>Home</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="">HOME</a> :
- <a href="../p">PROJECTS</a> :
- <a href="../w">ABOUT</a>
-
-</div><div id="b">
-
+Home,../
 <p>This site is currently still being built, read the
- <a href="../w">log</a> to see what's been done so far</p>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
+ <a href="/w">log</a> to see what's been done so far</p>
diff --git a/index.html b/index.html
index 857cc15..cdbe45e 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url='h'" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="s/m.css" /><link rel="icon" type="image/png" href="i/me.png" /><title>Home</title></head><body><div id="m"><div id="h"><img src="i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="h">HOME</a> : <a href="p">PROJECTS</a> : <a href="w">ABOUT</a></div><div id="b"><h2>INDEX</h2><ul class="tree"><li><a href="">/</a> - index</li><li>/<a href="h">h</a> - home</li><li>/<a href="e">e</a> - error</li><li>/<a href="gh">gh</a> - GitHub</li><li>/gh/<a href="gh/w">w</a> - website GitHub</li><li>/gh/<a href="gh/wf">wf</a> - WinForms GitHub</li><li>/i - images</li><li>/<a href="p">p</a> - projects</li><li>/s - CSS styles</li><li>/<a href="w">w</a> - website</li><li>/<a href="wf">wf</a> - WinForms</li></ul></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta http-equiv="refresh" content="0;url=h" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="./s/m.css" /><link rel="icon" type="image/png" href="./i/me.png" /><title>Index</title></head><body><div id="m"><div id="h"><img src="./i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="./h">HOME</a> : <a href="./p">PROJECTS</a> : <a href="./w">ABOUT</a></div><div id="b"><h2>INDEX</h2><ul class="tree"><li><a href="">/</a> - index</li><li>/<a href="./h">h</a> - home</li><li>/<a href="./e">e</a> - error</li><li>/<a href="./gh">gh</a> - GitHub</li><li>/gh/<a href="./gh/w">w</a> - website GitHub</li><li>/gh/<a href="./gh/wf">wf</a> - WinForms GitHub</li><li>/i - images</li><li>/<a href="./p">p</a> - projects</li><li>/s - CSS styles</li><li>/<a href="./w">w</a> - website</li><li>/<a href="./wf">wf</a> - WinForms</li></ul></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/m.htm b/m.htm
index 4991cb6..f3159cd 100644
--- a/m.htm
+++ b/m.htm
@@ -1,37 +1,15 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta http-equiv="refresh" content="0;url='h'" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="s/m.css" />
-<link rel="icon" type="image/png" href="i/me.png" />
-<title>Home</title></head>
-<body><div id="m"><div id="h">
-
-<img src="i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="h">HOME</a> :
- <a href="p">PROJECTS</a> :
- <a href="w">ABOUT</a>
-
-</div><div id="b">
-
+Index,./,h
 <h2>INDEX</h2>
 <ul class="tree">
 <li><a href="">/</a> - index</li>
-<li>/<a href="h">h</a> - home</li>
-<li>/<a href="e">e</a> - error</li>
-<li>/<a href="gh">gh</a> - GitHub</li>
-<li>/gh/<a href="gh/w">w</a> - website GitHub</li>
-<li>/gh/<a href="gh/wf">wf</a> - WinForms GitHub</li>
+<li>/<a href="/h">h</a> - home</li>
+<li>/<a href="/e">e</a> - error</li>
+<li>/<a href="/gh">gh</a> - GitHub</li>
+<li>/gh/<a href="/gh/w">w</a> - website GitHub</li>
+<li>/gh/<a href="/gh/wf">wf</a> - WinForms GitHub</li>
 <li>/i - images</li>
-<li>/<a href="p">p</a> - projects</li>
+<li>/<a href="/p">p</a> - projects</li>
 <li>/s - CSS styles</li>
-<li>/<a href="w">w</a> - website</li>
-<li>/<a href="wf">wf</a> - WinForms</li>
+<li>/<a href="/w">w</a> - website</li>
+<li>/<a href="/wf">wf</a> - WinForms</li>
 </ul>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/p/index.html b/p/index.html
index 68d6567..183c64a 100644
--- a/p/index.html
+++ b/p/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Projects</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>PROJECTS</h2><p><a href="../w">w</a> (HTML, CSS)<br />Website</p><p><a href="../wf">wf</a> (C#)<br />WinForms</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Projects</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>PROJECTS</h2><p><a href="../w">w</a> (HTML, CSS)<br />Website</p><p><a href="../wf">wf</a> (C#)<br />WinForms</p></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/p/m.htm b/p/m.htm
index 72f0408..2a83213 100644
--- a/p/m.htm
+++ b/p/m.htm
@@ -1,25 +1,4 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="../i/me.png" />
-<title>Projects</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../h">HOME</a> :
- <a href="">PROJECTS</a> :
- <a href="../w">ABOUT</a>
-
-</div><div id="b">
-
+Projects,../
 <h2>PROJECTS</h2>
-<p><a href="../w">w</a> (HTML, CSS)<br />Website</p>
-<p><a href="../wf">wf</a> (C#)<br />WinForms</p>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
+<p><a href="/w">w</a> (HTML, CSS)<br />Website</p>
+<p><a href="/wf">wf</a> (C#)<br />WinForms</p>
diff --git a/w/index.html b/w/index.html
index 39b9a35..1bad6a3 100644
--- a/w/index.html
+++ b/w/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Website</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="">ABOUT</a></div><div id="b"><h2>NAV</h2><ul class="tree"><li><a href="..">/</a> - index</li><li>/<a href="../h">h</a> - home</li><li>/<a href="../e">e</a> - error</li><li>/<a href="../gh">gh</a> - GitHub</li><li>/gh/<a href="../gh/w">w</a> - website GitHub</li><li>/gh/<a href="../gh/wf">wf</a> - WinForms GitHub</li><li>/i - images</li><li>/<a href="../p">p</a> - projects</li><li>/s - CSS styles</li><li>/<a href="../w">w</a> - website</li><li>/<a href="../wf">wf</a> - WinForms</li></ul><h2>WHY</h2><p>This site started as something interesting for me to work on during my break after the fall semester of 2024 ended. It's turned out to be a fantastic excuse to learn HTML, CSS, and Git</p><h2>LOG</h2><h3>2024/10/16</h3><p>There's now sitemap navigation which makes jumping to a specific page easy, it also works great for documenting the purpose of each page. I also added a photo of myself to the header, making it less plain/empty looking. The header photo also works great as a favicon. Another thing I did was adding backgrounds, one for dark mode and one for light mode. I'm not sure how long I'll end up keeping the backgrounds, but they're fun for the time being</p><h3>2024/06/15</h3><p>I redid the header and made the CSS look nicer. There's also been lots of minor improvements like having newlines in the correct spots and lots of rewording. This site is now in a fairly stable state, so most important changes will be from either adding new pages or totally redesigning something</p><h3>2024/03/25</h3><p>Every page has been moved to its own directory so that this site can use URL slugs without relying on a framework or web server. Now the URL of every page looks much cleaner. There is also an <a href="../e">error</a> page now so when someone tries going to a page that doesn't exist like <a href="../nonexistent">this</a> one, they're sent to an error page and then redirected to the <a href="../h"> homepage</a> page after a few seconds</p><h3>2024/02/04</h3><p>There's now a page for the various <a href="../wf"> WinForms</a> that I've made throughout my classes in college. I also changed this site's theme quite a bit since the last log</p><h3>2023/12/31</h3><p>I got the domain name porterswanstrom.com and created two A records, one for plain porterswanstrom.com and another for w.porterswanstrom.com. the latter is setup to auto-redeploy everytime a change is made to this site, so that the changes can be tested before being deployed to porterswanstrom.com</p><h3>2023/12/18</h3><p>I figured out how to get the spacing and font size to work right on mobile, so now this site looks great on mobile</p><h3>2023/12/13</h3><p>I designed a light mode for this site and added CSS to set the theme depending on whether someone is using dark mode or light mode</p><h3>2023/12/10</h3><p>This site has some color now, it's currently dark mode with green links, a lot of redish orange headers, and a few purple headers</p><h3>2023/12/09</h3><p>I started this site on the 6th and so far the only pages are the <a href="../h">homepage</a>, <a href="../p"> projects</a> page, and <a href="">about</a> page. I also started to add some basic CSS and successfully got a working header and footer</p><h2>GET</h2><p>The source code is <a href="../gh/w">here</a>, get it with:</p><pre class="sh">git clone http://github.com/porterswanstrom/w</pre></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
+<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" /><link rel="stylesheet" type="text/css" href="../s/m.css" /><link rel="icon" type="image/png" href="../i/me.png" /><title>Website</title></head><body><div id="m"><div id="h"><img src="../i/me.png" alt="photo of myself" /><h1>Porter Swanstrom</h1><br /> <a href="../h">HOME</a> : <a href="../p">PROJECTS</a> : <a href="../w">ABOUT</a></div><div id="b"><h2>NAV</h2><ul class="tree"><li><a href="..">/</a> - index</li><li>/<a href="../h">h</a> - home</li><li>/<a href="../e">e</a> - error</li><li>/<a href="../gh">gh</a> - GitHub</li><li>/gh/<a href="../gh/w">w</a> - website GitHub</li><li>/gh/<a href="../gh/wf">wf</a> - WinForms GitHub</li><li>/i - images</li><li>/<a href="../p">p</a> - projects</li><li>/s - CSS styles</li><li>/<a href="../w">w</a> - website</li><li>/<a href="../wf">wf</a> - WinForms</li></ul><h2>WHY</h2><p>This site started as something interesting for me to work on during my break after the Fall 2023 semester ended. It's turned out to be a fantastic excuse to learn HTML, CSS, and Git</p><h2>LOG</h2><h3>2024/10/16</h3><p>There's now sitemap navigation which is nice for jumping to a specific page, it's also great for documenting the purpose of each page. I also added a photo of myself to the header, making it less empty looking. The header photo also works good as a favicon. Another thing I did was adding background images, one for dark mode and one for light mode. I'm not sure how long I'll end up keeping the backgrounds, but they're fun for the time being</p><h3>2024/06/15</h3><p>I redid the header and made the CSS look nicer. There's also been lots of minor improvements like having newlines in the correct spots and lots of rewording. This site is now in a fairly stable state, so most important changes will be from either adding new pages or totally redesigning something</p><h3>2024/03/25</h3><p>Every page has been moved to its own directory so that this site can use URL slugs without relying on a framework or web server. Now the URL of every page looks much cleaner. There is also an <a href="../e">error</a> page now so when someone tries going to a page that doesn't exist like <a href="../nonexistent">this</a> one, they're sent to an error page and then redirected to the <a href="../h"> homepage</a> page after a few seconds</p><h3>2024/02/04</h3><p>There's now a page for the various <a href="../wf"> WinForms</a> that I've made throughout my classes in college. I also changed this site's theme quite a bit since the last log</p><h3>2023/12/31</h3><p>I got the domain name porterswanstrom.com and created two A records, one for plain porterswanstrom.com and another for w.porterswanstrom.com. the latter is setup to auto-redeploy everytime a change is made to this site, so that the changes can be tested before being deployed to porterswanstrom.com</p><h3>2023/12/18</h3><p>I figured out how to get the spacing and font size to work right on mobile, so now this site looks great on mobile</p><h3>2023/12/13</h3><p>I designed a light mode for this site and added CSS to set the theme depending on whether someone is using dark mode or light mode</p><h3>2023/12/10</h3><p>This site has some color now, it's currently dark mode with green links, a lot of redish orange headers, and a few purple headers</p><h3>2023/12/09</h3><p>I started this site on the 6th and so far the only pages are the <a href="../h">homepage</a>, <a href="../p"> projects</a> page, and <a href="">about</a> page. I also started to add some basic CSS and successfully got a working header and footer</p><h2>GET</h2><p>The source code is <a href="../gh/w">here</a>, get it with:</p><pre class="sh">git clone http://github.com/porterswanstrom/w</pre></div><div id="f"><p>Made by <a href="">PORTER SWANSTROM</a></p></div></div></body></html>
\ No newline at end of file
diff --git a/w/m.htm b/w/m.htm
index 316c748..d64771f 100644
--- a/w/m.htm
+++ b/w/m.htm
@@ -1,51 +1,34 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="../i/me.png" />
-<title>Website</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../h">HOME</a> :
- <a href="../p">PROJECTS</a> :
- <a href="">ABOUT</a>
-
-</div><div id="b">
-
+Website,../
 <h2>NAV</h2>
 <ul class="tree">
 <li><a href="..">/</a> - index</li>
-<li>/<a href="../h">h</a> - home</li>
-<li>/<a href="../e">e</a> - error</li>
-<li>/<a href="../gh">gh</a> - GitHub</li>
-<li>/gh/<a href="../gh/w">w</a> - website GitHub</li>
-<li>/gh/<a href="../gh/wf">wf</a> - WinForms GitHub</li>
+<li>/<a href="/h">h</a> - home</li>
+<li>/<a href="/e">e</a> - error</li>
+<li>/<a href="/gh">gh</a> - GitHub</li>
+<li>/gh/<a href="/gh/w">w</a> - website GitHub</li>
+<li>/gh/<a href="/gh/wf">wf</a> - WinForms GitHub</li>
 <li>/i - images</li>
-<li>/<a href="../p">p</a> - projects</li>
+<li>/<a href="/p">p</a> - projects</li>
 <li>/s - CSS styles</li>
-<li>/<a href="../w">w</a> - website</li>
-<li>/<a href="../wf">wf</a> - WinForms</li>
+<li>/<a href="/w">w</a> - website</li>
+<li>/<a href="/wf">wf</a> - WinForms</li>
 </ul>
 
 <h2>WHY</h2>
 <p>This site started as something interesting for me to work
- on during my break after the fall semester of 2024 ended.
- It's turned out to be a fantastic excuse to learn HTML, CSS,
- and Git</p>
+ on during my break after the Fall 2023 semester ended. It's
+ turned out to be a fantastic excuse to learn HTML, CSS, and
+ Git</p>
 
 <h2>LOG</h2>
 <h3>2024/10/16</h3>
-<p>There's now sitemap navigation which makes jumping to a
- specific page easy, it also works great for documenting the
- purpose of each page. I also added a photo of myself to the
- header, making it less plain/empty looking. The header photo
- also works great as a favicon. Another thing I did was adding
- backgrounds, one for dark mode and one for light mode. I'm
- not sure how long I'll end up keeping the backgrounds, but
+<p>There's now sitemap navigation which is nice for jumping to
+ a specific page, it's also great for documenting the purpose
+ of each page. I also added a photo of myself to the header,
+ making it less empty looking. The header photo also works
+ good as a favicon. Another thing I did was adding background
+ images, one for dark mode and one for light mode. I'm not
+ sure how long I'll end up keeping the backgrounds, but
  they're fun for the time being</p>
 
 <h3>2024/06/15</h3>
@@ -60,14 +43,14 @@
 <p>Every page has been moved to its own directory so that
  this site can use URL slugs without relying on a framework
  or web server. Now the URL of every page looks much cleaner.
- There is also an <a href="../e">error</a> page now so when
+ There is also an <a href="/e">error</a> page now so when
  someone tries going to a page that doesn't exist like
- <a href="../nonexistent">this</a> one, they're sent to an
- error page and then redirected to the <a href="../h">
+ <a href="/nonexistent">this</a> one, they're sent to an
+ error page and then redirected to the <a href="/h">
  homepage</a> page after a few seconds</p>
 
 <h3>2024/02/04</h3>
-<p>There's now a page for the various <a href="../wf">
+<p>There's now a page for the various <a href="/wf">
  WinForms</a> that I've made throughout my classes in college.
  I also changed this site's theme quite a bit since the last
  log</p>
@@ -95,17 +78,13 @@
 
 <h3>2023/12/09</h3>
 <p>I started this site on the 6th and so far the only pages
- are the <a href="../h">homepage</a>, <a href="../p">
+ are the <a href="/h">homepage</a>, <a href="/p">
  projects</a> page, and <a href="">about</a> page. I also
  started to add some basic CSS and successfully got a working
  header and footer</p>
 
 <h2>GET</h2>
-<p>The source code is <a href="../gh/w">here</a>,
+<p>The source code is <a href="/gh/w">here</a>,
  get it with:</p><pre class="sh">
 git clone http://github.com/porterswanstrom/w
 </pre>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>
diff --git a/wf/m.htm b/wf/m.htm
index c049c39..9da6d82 100644
--- a/wf/m.htm
+++ b/wf/m.htm
@@ -1,21 +1,4 @@
-<!doctype html><html lang="en"><head>
-<meta http-equiv="content-type"
- content="text/html;charset=utf-8" />
-<meta name="viewport"
- content="width=device-width,initial-scale=1" />
-<link rel="stylesheet" type="text/css" href="../s/m.css" />
-<link rel="icon" type="image/png" href="../i/me.png" />
-<title>WinForms</title></head>
-<body><div id="m"><div id="h">
-
-<img src="../i/me.png" alt="photo of myself" />
-<h1>Porter Swanstrom</h1><br />
- <a href="../h">HOME</a> :
- <a href="../p">PROJECTS</a> :
- <a href="../w">ABOUT</a>
-
-</div><div id="b">
-
+WinForms,../
 <h2>WHY</h2>
 <p>This project is for archiving the various WinForms that
  I've made while in college. None of these are complex, but
@@ -32,10 +15,6 @@
  paragraphs, headers, and non-inline links</p></li></ol>
 
 <h2>GET</h2>
-<p>The source code is <a href="../gh/wf">
+<p>The source code is <a href="/gh/wf">
  here</a>, get it with:</p><pre class="sh">
 git clone http://github.com/porterswanstrom/wf</pre>
-
-</div><div id="f">
-<p>Made by <a href="">PORTER SWANSTROM</a></p>
-</div></div></body></html>