1
0
Fork 0
repo2html/tpl/commit.sh

31 lines
536 B
Bash
Executable File

#!/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 &copy; $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