added ls prints to some pages and index pages for subfolders

This commit is contained in:
Aviv "RustyStriker" Romem 2022-06-11 15:28:45 +03:00
parent c108f98432
commit f102c9f48c
5 changed files with 47 additions and 3 deletions

View file

@ -1,5 +1,11 @@
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Rusty's website/"</INJECT>
<p>
Folders: <INJECT>cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py</INJECT>
<br>
Files: <INJECT>cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py</INJECT>
</p>
<h1>
Welcome, to my WEBSITE!
</h1>