diff --git a/bscripts/index.html b/bscripts/index.html
index 8974ef2..2077d69 100644
--- a/bscripts/index.html
+++ b/bscripts/index.html
@@ -9,11 +9,8 @@
(yes i know i hate python but its v quick for simple stuff)
to transform input from ls
into a list of <a> tags(with space between)
- ')
+ print('' + a.replace('.html', '') + ' ')
diff --git a/index.html b/index.html
index e0586df..d5f11af 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,9 @@
cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"
- Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
-
- Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
+ Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
+
+ Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
-
Hello and welcome to my personal website
diff --git a/old_index.html b/old_index.html
index 87638fa..e480666 100644
--- a/old_index.html
+++ b/old_index.html
@@ -1,8 +1,8 @@
cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"
- Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
-
- Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
+ Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
+
+ Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
diff --git a/stories/index.html b/stories/index.html
index d75cdd2..8bcb174 100644
--- a/stories/index.html
+++ b/stories/index.html
@@ -7,11 +7,8 @@
or about stuff that happens to me
-
- Stories:
-
- cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
-
+
+
python $HOME/bscripts/ls_table.py $CURRENT .html
diff --git a/stories/injector.html b/stories/injector.html
index 0b14e85..a372248 100644
--- a/stories/injector.html
+++ b/stories/injector.html
@@ -1,8 +1,8 @@
cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Injector/"
- Folders: cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
-
- Files: cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
+ Folders
cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py
+
+ Files
cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
Injector
diff --git a/template/index.html b/template/index.html
index e82ad13..cc01742 100644
--- a/template/index.html
+++ b/template/index.html
@@ -7,11 +7,8 @@
like the header and footer
of the pages(also contains the start and end of the pages!, tho I might change that)
-
- here is the list of templates in here:
-
- cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
-
+
+ python $HOME/bscripts/ls_table.py $CURRENT
diff --git a/useful/index.html b/useful/index.html
index e4cef02..c9c9dd6 100644
--- a/useful/index.html
+++ b/useful/index.html
@@ -5,9 +5,8 @@
Useful stuff to know/resources
-
- cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py
-
+
+ python $HOME/bscripts/ls_table.py $CURRENT