31 lines
536 B
Bash
31 lines
536 B
Bash
|
#!/bin/bash
|
||
|
cat <<EOF
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>$subject</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>$subject</h1>
|
||
|
<h2>$year-$month-$day</h2>
|
||
|
|
||
|
<div id="body">
|
||
|
$( cat )
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
<a href="$path_root#$dategroup">(Return to index)</a>
|
||
|
</p>
|
||
|
|
||
|
<hr />
|
||
|
<footer>
|
||
|
Copyright © $year Mike Gerwitz.
|
||
|
Verbatim redistribution of this document in its entirety is permitted so
|
||
|
long as this copyright notice is preserved.
|
||
|
|
||
|
<div>$hash</div>
|
||
|
</footer>
|
||
|
</body>
|
||
|
</html>
|
||
|
EOF
|