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

			{{ if .Date }}
				<time>{{ .Date.Format "Jan 02, 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>
			<!-- {{ with .Site.DisqusShortname }}
				 <div>
				 {{ template "_internal/disqus.html" . }}
				 </div>
				 {{ end }}
				 </article> -->
	</main>
	<!-- {{ partial "sidebar.html" . }} -->
{{ end }}