Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single.html « _default « layouts - github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9134f9603c8463265d9b5e3e98e0b718ffc620ff (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>{{ i18n "writtenBy" }}</span>
		{{- if .Params.Author }}
			{{ .Params.Author }}
		{{- else }}
			{{ .Site.Params.Author }}
		{{- end }}

		{{- if .PublishDate }}
			<br>
			<span>{{ i18n "on" }}&nbsp;</span><time datetime="{{ .PublishDate }}">{{ i18n "publishdate" . }}</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">&#8592;</a>
		{{- end }}
		{{- if .Prev }}
		<a href="{{ .Prev.URL }}" class="right arrow">&#8594;</a>
		{{- end }}

		<a href="#" class="top">Top</a>
	</div>
</main>

{{- partial "footer.html" . }}