{{ $currentLang := $.Site.Language.Lang }}
<!doctype html>
<html lang="{{ $currentLang | default "nl" }}">
{{ partial "head.html" . }}
<body>
<a class="skip-link" href="#main">Ga naar hoofd</a>
<main id="main">
<div class="content">
{{ partialCached "header.html" . }}
<section>
<!-- <h2 class="post">{{ .Title }}</h2> -->
{{- block "main" . }}
{{ .Content }}
{{- end }}
{{ if eq .Section "posts" }}
<div class="post-date">
<span class="g time">{{.Date.Format "January 2, 2006"}} </span> ∙
{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }}
{{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s"
$taxonomy $tag) -}}
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
{{- end -}} {{- end -}}
{{ end }}
</div>
</section>
</main>
</body>
</html>