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

18
template/index.html Normal file
View file

@ -0,0 +1,18 @@
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Template/"</INJECT>
<h1>Template</h1>
<div>
<p>
This is where I keep templates(or part of templates) for the website,
like the <a href = "header.html">header</a> and <a href = "footer.html">footer</a>
of the pages(also contains the start and end of the pages!, tho I might change that)
</p>
<p>
here is the list of templates in here:
<br>
<INJECT>cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py</INJECT>
</p>
</div>
<INJECT>cat $HOME/template/footer.html</INJECT>