templates/index.html
<!doctype html>
<html>
<head>
<style>
p, pre, form {text-align: center; color: aliceblue;}
body {background-color: #7A5901;}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>poop.is: a shitty link shortener</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22><text y=%2226%22 font-size=%2226%22>💩<200d>⬛ </text></svg>">
</head>
<body>
{{ if . }}
<p>here's your shortened link, stinky:</p>
<pre>{{ . }}</pre>
{{ else }}
<p>💩💩💩💩💩💩💩💩💩💩</p>
<p>welcome to poop.is - a simple, shitty link shortener</p>
<form method="POST">
<label>please enter the link you want to shorten</label><br />
<input type="text" name="url" size="60" required maxlength="10000"><br />
<input type="submit">
</form>
<sub>made with <3 by <a href="https://j3s.sh">jes</a></sub>
{{ end }}
</body>
</html>