about summary refs log tree commit diff
path: root/layouts/_default/single.html
blob: f74ec16f6be06128a0b806a2ad3303fb08410ebf (plain) (blame)
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
{{ define "main" }}
{{ if .Menus }}
<nav class="post-navigation">
	{{ range .Menus }}
	<a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
	{{ end }}
</nav>
{{ end }}

<article class="post h-entry">
	<header class="post-header">
		<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title  " " }}</h1>
	</header>
	<div class="content e-content">
		{{ .Content }}
	</div>
	{{ partial "postInfo.html" . }}
</article>

{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
{{ partial "paginationPost.html" . }}
{{ end }}

{{ partial "custom-webring.html" }}

{{ end }}