My personal blog's source repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
780 B

#!/usr/bin/env bash
# HTML template for every page of Aphrodite
cat <<EOF
<!doctype html>
<html lang="en" dir="ltr">
<head>
<title>${TITLE:-Aphrodite}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="$author" />
<link rel="stylesheet" href="/.-/normalize.css" />
<link rel="stylesheet" href="/.-/style.css" />
<link rel="shortcut icon" href="/.-/favicon.png" />
</head>
<body>
<nav>
<a href="/" class="heading">Aphrodite</a>
<a href="/~blog" class="heading">/~blog</a>
<a href="/~writings" class="heading">/~writings</a>
<a href="/~notebook" class="heading">/~notebook</a>
<a href="/~resources" class="heading">/~resources</a>
</nav>
<main>
$(cat)
</main>
</body>
</html>
EOF