{{ define "body" }}
<main>
	<article class="page">
		<header class="section page-header">
			<div class="container">
				<h1 class="page-title">{{ .Title }}</h1>
				<p class="page-summary">{{.Summary}}</p>
				{{ with .Params.cover }}
				<img class="page-cover" src="{{.}}">
				{{end}}
			</div>
		</header>
		<aside class="meta section">
			<div class="container">
				<datetime class="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </datetime>
				<p class="wordcount"> {{.WordCount}} words</p>

				{{ with .Params.tags }}
				<p>Keywords:</p>
				<ul class="tags">
					{{ range . }}
					<li><a href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a></li>
					{{ end }}
				</ul>
				{{ end }}

				{{ .TableOfContents }}
			</div>
		</aside>
		<section class="section">
			<div class="container">
				{{ .Content }}
			</div>
		</section>
	</article>
</main>
{{ end }}