aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/_default/single.html
blob: 87b2fc687c338481e29fbf3b4961354a46b94f3f (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
{{ define "main" }}
	<main>
		<article>
			<h1>{{ .Title }}</h1>

			{{ if .Date }}
				<time>Created At: {{ .Date.Format "02 Jan 2006" }}</time></br>
			{{ end }}
			{{ if .Lastmod }}
				<time>Last Modified: {{ .Lastmod.Format  "02 Jan 2006"}}</time>
			{{ end }}

			{{ partial "tagbar.html" }}
			{{ with .Params.tags }}
			<div class="tags">
				<ul>
					{{ range . }}
					<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
					{{ end }}
				</ul>
			</div>
			{{ end }}

			<div class="blog-post-content">
				{{ .Content }}
			</div>
	</main>
	{{ partial "sidebar.html" . }}
{{ end }}