blob: c6654294fcdaa8de56f5cd768addb9c07f1350e3 (
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
31
32
33
|
<!DOCTYPE html>
<html>
<head>
<title>{{- block "title" . }}{{ .Site.Title }}
{{- if .Title }} - {{ .Title }}{{ end }}
{{- end }}</title>
{{- with .OutputFormats.Get "rss" }}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
{{- end }}
</head>
<body>
{{- block "header" . }}
{{- if .Title }}
<header>
<h1>{{ .Title }}</h1>
{{- if .PublishDate }}
<p><small>{{ .PublishDate | time.Format ":date_medium" }}</small></p>
{{- end }}
</header>
{{- end }}
{{- end }}
{{- block "main" . }}
{{- .Content }}
{{- end }}
{{- with .Parent }}
<nav>
<p>Go back to <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>.</p>
</nav>
{{- end }}
</body>
</html>
|