summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-11-14 09:35:43 -0500
committerknolax <1339802534.kk@gmail.com>2017-11-14 09:35:43 -0500
commit8795d52462f0c8084589748851a513c5ceb5ba55 (patch)
tree75beebe2175863c5fa236f6f1511cf67e8d487bb
parente6116f2dde5c3b38b4cab55899e3e23c55d8ede7 (diff)
changed home.html to index.html
-rw-r--r--cont/index.html (renamed from cont/home.html)0
-rwxr-xr-xgen.sh8
-rw-r--r--index2
-rw-r--r--index.html37
-rw-r--r--meta.html2
-rw-r--r--testpage.html2
6 files changed, 42 insertions, 9 deletions
diff --git a/cont/home.html b/cont/index.html
index 1ad9035..1ad9035 100644
--- a/cont/home.html
+++ b/cont/index.html
diff --git a/gen.sh b/gen.sh
index a870ab3..dda13c6 100755
--- a/gen.sh
+++ b/gen.sh
@@ -1,7 +1,7 @@
-pages=$(ls -S -t cont/| grep html | grep -v home.html) #lists the actual content
+pages=$(ls -S -t cont/| grep html | grep -v index.html) #lists the actual content
#-S -t so that the files are roughly in time order
-#home is excluded and appended at the end to make sure it gets processed last
-pages="$pages home.html"
+#index is excluded and appended at the end to make sure it gets processed last
+pages="$pages index.html"
#clears the index
rm index
for page in $pages; do
@@ -23,7 +23,7 @@ for page in $pages; do
cat $page.tmp | sed '/\\\[SETDATE\]/bx; /\[SETDATE\].*/d;:x s/\\\[SETDATE\]/\[SETDATE\]/' >> $page
#adds the index if its the homepage
- if [ "$page" == "home.html" ]; then
+ if [ "$page" == "index.html" ]; then
cat index >> $page
rm index
fi
diff --git a/index b/index
index 87399fa..8e62bf4 100644
--- a/index
+++ b/index
@@ -1 +1 @@
-<a href="home.html">[Home] </a>
+<a href="index.html">[Home] </a>
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..ad0ee31
--- /dev/null
+++ b/index.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<head>
+<title>Home</title>
+<meta charset="utf-8">
+<link rel="stylesheet" href="style.css">
+</head>
+<body>
+<pre class="content">
+<!--
+123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
+一二三四
+-->--------------------------------------------------------------------------------
+
+<a href="home.html">>HairyDiode</a>
+
+--------------------------------------------------------------------------------
+<!--
+123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
+一二三四--> Home
+--------------------------------------------------------------------------------
+What is this?
+ hairydiode.xyz
+Who are you?
+ Haoran S Diao
+How do I tell you your site is ugly?
+ Email:1339802534.kk@gmail.com
+ Phone:(Two Four Oh)-938-1333
+ Github:https://github.com/knolax
+Where's all the content?
+ Scroll Down
+<a href="meta.html">[Making This Site] 11-13-2017</a>
+<a href="testpage.html">[Testing Page] 11-12-2017</a>
+</pre>
+</body>
+<!--
+if you're digging in the src you might be interested in how this site works here: https://hairydiode.xyz/meta.html
+-->
diff --git a/meta.html b/meta.html
index 175eb3a..386b2c4 100644
--- a/meta.html
+++ b/meta.html
@@ -6,7 +6,6 @@
</head>
<body>
<pre class="content">
-<div>
<!--
123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
一二三四
@@ -19,7 +18,6 @@
123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
一二三四-->Making This Site 11-13-2017
--------------------------------------------------------------------------------
-</div>
</pre>
</body>
<!--
diff --git a/testpage.html b/testpage.html
index 6bcbb55..4626d82 100644
--- a/testpage.html
+++ b/testpage.html
@@ -6,7 +6,6 @@
</head>
<body>
<pre class="content">
-<div>
<!--
123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
一二三四
@@ -40,7 +39,6 @@ should be deleted ^
11-12-2017 should say 11-12-2017
[DATE] should be escaped
that should override the previous one
-</div>
</pre>
</body>
<!--