1
0
Fork 0
repo2html/tpl/commit.sh

30 lines
420 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 $copyright.
$license
<div>$hash</div>
</footer>
</body>
</html>
EOF