forked from laurens/fediversity_website
50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
|
|
{{ partial "head.html" . }}
|
|
<body>
|
|
<a class="skip-link" href="#main">Ga naar hoofd</a>
|
|
<main id="main">
|
|
<div class="content">
|
|
<a href="/"><img src="/afbeeldingen/logo/nluug-logo.png" alt="NLUUG-logo" title="{{ .Site.Title }}"></a>
|
|
{{ partialCached "header.html" . }}
|
|
<section>
|
|
<!-- <h2 class="post">{{ .Title }}</h2> -->
|
|
{{- block "main" . }}
|
|
{{ .Content }}
|
|
{{- end }}
|
|
|
|
{{ partial "show-call-to-action.html" . }}
|
|
|
|
{{ if isset .Params "show_child_pages" }}
|
|
{{ if eq .Params.show_child_pages true }}
|
|
<section>
|
|
<p>Relevante pagina's:</p>
|
|
<ul>
|
|
{{ range .Pages }}
|
|
<li>
|
|
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | default "Geen titel" }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</section>
|
|
{{ end }}
|
|
{{ 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>
|
|
{{ end }}
|
|
</section>
|
|
</div>
|
|
</main>
|
|
{{ partial "footer.html" . }}
|
|
</body>
|
|
</html>
|