blob: 2e05fc5669285b0cba3463a18ff04a770a54c7d6 (
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
34
35
36
37
38
|
{{- partial "header.html" . }}
<main>
<div class="post">
<div class="post-info">
<span>Written by</span>
{{- if .Params.Author }}
{{ .Params.Author }}
{{- else }}
{{ .Site.Params.Author }}
{{- end }}
{{- if .PublishDate }}
<br>
<span>on </span><time datetime="{{ .PublishDate }}">{{ .PublishDate.Format "January 2, 2006" }}</time>
{{- end }}
</div>
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-line"></div>
{{ .Content }}
</div>
<div class="pagination">
{{- if .Next }}
<a href="{{ .Next.URL }}" class="left arrow">←</a>
{{- end }}
{{- if .Prev }}
<a href="{{ .Prev.URL }}" class="right arrow">→</a>
{{- end }}
<a href="#" class="top">Top</a>
</div>
</main>
{{- partial "footer.html" . }}
|