blob: 278b4dd0822efd11230d288fc7cdbf6a588cf0a1 (
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
|
{{ partial "header.html" . }}
<main>
<div class="post">
<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" . }}
|