From 8795d52462f0c8084589748851a513c5ceb5ba55 Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Tue, 14 Nov 2017 09:35:43 -0500 Subject: changed home.html to index.html --- cont/home.html | 15 --------------- cont/index.html | 15 +++++++++++++++ gen.sh | 8 ++++---- index | 2 +- index.html | 37 +++++++++++++++++++++++++++++++++++++ meta.html | 2 -- testpage.html | 2 -- 7 files changed, 57 insertions(+), 24 deletions(-) delete mode 100644 cont/home.html create mode 100644 cont/index.html create mode 100644 index.html diff --git a/cont/home.html b/cont/home.html deleted file mode 100644 index 1ad9035..0000000 --- a/cont/home.html +++ /dev/null @@ -1,15 +0,0 @@ - [TITLE] --------------------------------------------------------------------------------- -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 -[SETTITLE]Home diff --git a/cont/index.html b/cont/index.html new file mode 100644 index 0000000..1ad9035 --- /dev/null +++ b/cont/index.html @@ -0,0 +1,15 @@ + [TITLE] +-------------------------------------------------------------------------------- +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 +[SETTITLE]Home 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 @@ -[Home] +[Home] diff --git a/index.html b/index.html new file mode 100644 index 0000000..ad0ee31 --- /dev/null +++ b/index.html @@ -0,0 +1,37 @@ + +
++-------------------------------------------------------------------------------- + +>HairyDiode + +-------------------------------------------------------------------------------- + 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 +[Making This Site] 11-13-2017 +[Testing Page] 11-12-2017 ++ + diff --git a/meta.html b/meta.html index 175eb3a..386b2c4 100644 --- a/meta.html +++ b/meta.html @@ -6,7 +6,6 @@
-Making This Site 11-13-2017 -------------------------------------------------------------------------------- -