blob: dba83445c2a1fc57ddf1fea7ac9953b6551e0b94 (
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
|
{{ define "main" }}
<main>
<div class="post">
{{ partial "single/post-info.html" . }}
{{ partial "single/title.html" . }}
{{ partial "single/header.html" . }}
{{ .Content }}
{{ partial "single/footer.html" . }}
</div>
<div class="pagination">
{{- if .PrevPage }}
<a href="{{ .PrevPage.RelPermalink }}" class="left arrow">←</a>
{{- end }}
{{- if .NextPage }}
<a href="{{ .NextPage.RelPermalink }}" class="right arrow">→</a>
{{- end }}
<a href="#" class="top">Top</a>
</div>
</main>
{{ end }}
|