Change styling and make things less safe
This commit is contained in:
parent
aafe4b3aac
commit
9f66c208c5
13
TM
13
TM
@ -1,14 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>$(T|sed 's/<[^>]\+>//g')</title>
|
||||
$(q -d S/s.css&&e '<link rel=stylesheet href=S/s.css>'||
|
||||
$(q -f S/s.css&&e '<link rel=stylesheet href=S/s.css>'||
|
||||
e '<style>body{max-width:70ch;padding:1em;margin:auto}
|
||||
#toc{background:pink;padding:1em}</style>')
|
||||
#toc{background:pink;padding:1em;display:block}</style>')
|
||||
<h1>$(T)</h1>
|
||||
$(B|./lht)
|
||||
$(q "${N%.*}" = index&&(e '<ul id=toc>'
|
||||
for p in I/*;do q "$p" = "$F"&&continue;n="${p#I/}"
|
||||
$(q "${N%.*}" = index&&(e '<ul id=toc>Pages'
|
||||
for p in I/*;do q $p = $F&&continue;n="${p#I/}"
|
||||
e "<li><a href='${n%.*}.htm'>$(sed 1q $p)</a></li>"
|
||||
done
|
||||
e '</ul>')||(e '<a id=toc href=index.htm>return</a>'))
|
||||
<footer>© 2019 Case Duckworth</footer>
|
||||
done;e '</ul>')||(e '<a id=toc href=index.htm>return</a>'))
|
||||
<p id=ft>© 2019</p>
|
||||
|
Loading…
Reference in New Issue
Block a user