blob: f705d3cb718e0eed6d8ad5ac43514a2bfc55af44 (
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 .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>
{{ end }}
|