summaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
blob: cb63cbfe7b90be63f8e8c36e2fa7289ec650012a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "main" }}
<article>
	<header>
		<h1>{{ .Title }}</h1>
		{{- range .Params.tags }}
			<a href="/tags/{{ . | lower }}">#{{ . }}</a>
		{{- end }}
	</header>
	<main>
		{{ .Content }}
	</main>
	<footer>
		<p class="text-center">
			<a class="image-link" rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
				<img alt="Creative Commons License" style="border-width:0" src="/img/cc-by-sa.png">
			</a>
		</p>
	</footer>
</article>
{{ end }}