blob: 6d9c5dcf320d7f51b554b02f309eb74c072eaf5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>{{ .Title }}</title>
<link rel="icon" type="image/png" href="/avatar.png">
{{ $style := resources.Get "main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"/>
</head>
<body>
{{ partial "nav.html" . }}
<main>
<h2>{{ .Title }}</h2>
{{ range .Pages }}
<div class="post">
<h2>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
<small>
{{ .Date.Format "January 2, 2006" }}
</small>
</div>
{{ end }}
</main>
{{ partial "footer.html" . }}
</body>
</html>
|