diff options
| author | Johannes Herman <johannes.herman@gmail.com> | 2025-12-11 06:49:19 +0100 |
|---|---|---|
| committer | Johannes Herman <johannes.herman@gmail.com> | 2025-12-11 06:49:19 +0100 |
| commit | c14aabfd17c85632bd68db60867edb3fb662c7e7 (patch) | |
| tree | d3fc7a1c44bba6fa56c39bd77013911151977532 /bin/make_html_index.sh | |
initial commit
Diffstat (limited to 'bin/make_html_index.sh')
| -rwxr-xr-x | bin/make_html_index.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/make_html_index.sh b/bin/make_html_index.sh new file mode 100755 index 0000000..cba5479 --- /dev/null +++ b/bin/make_html_index.sh @@ -0,0 +1,34 @@ +#/bin/sh + +DIR="$(dirname "$0")" +OUTDIR="$DIR/../public" + +exec >"$OUTDIR/index.html" + +cat <<'EOF' +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Liber Dolorum</title> + <link rel='stylesheet' type='text/css' href="style.css"> + <link rel="icon" type="image/png" href="favicon.png"> +</head> + +<body> +<h1>Liber Dolorum</h1> +<p><em>"Another trick in the book"</em></p> + +EOF + +"$DIR/make_html_table.sh" +"$DIR/make_html_archives.sh" + +cat <<'EOF' + +<p>alpha 0.1</p> + +</body> + +</html> +EOF |
