added ls prints to some pages and index pages for subfolders
This commit is contained in:
parent
c108f98432
commit
f102c9f48c
5 changed files with 47 additions and 3 deletions
18
template/index.html
Normal file
18
template/index.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue