33 lines
506 B
Bash
Executable File
33 lines
506 B
Bash
Executable File
#!/bin/bash
|
|
cat <<EOF
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>$subject</title>
|
|
<style type="text/css">
|
|
:target { background-color: #fce94f; }
|
|
</style>
|
|
</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 $copyright.
|
|
$license
|
|
|
|
<div>$hash</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
EOF
|