templates/index.html 530 B raw
1
<!DOCTYPE html>
2
<html>
3
	<head>
4
		<meta charset="UTF-8">
5
    <meta name="robots" content="noindex, nofollow">
6
		<title>{{.Title}}</title>
7
    <style>
8
      * {
9
        background: #121113;
10
        color: white;
11
        font-family: monospace;
12
      }
13
14
      body {
15
        max-width: 600px;
16
        margin: auto;
17
      }
18
19
    </style>
20
	</head>
21
	<body>
22
    <h1>{{.Title}}</h1>
23
    <p>{{.Content}}</p>
24
    <ul>
25
    {{range .Links}}
26
      <li>
27
        <a href='/{{ . }}'>{{ . }}</a>
28
      </li>
29
    {{end}}
30
    </ul>
31
	</body>
32
</html>