6
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/_default/baseof.html

54 lines
1.9 KiB
HTML
Raw Normal View History

<!doctype html>
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
{{ partial "head.html" . }}
<body>
2023-05-15 15:26:10 +02:00
<!-- Accessibility: skip-link voor mobiele apparaten -->
<a class="skip-link" href="#main">Ga naar hoofd</a>
<main id="main">
<div class="content">
2023-05-07 19:48:04 +02:00
{{ partialCached "header.html" . }}
2023-05-15 15:26:10 +02:00
{{ partial "breadcrumb.html" . }}
<!-- <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 }}
2023-05-16 23:36:11 +02:00
<section>
2023-05-18 13:03:01 +02:00
<h3>Gerelateerde pagina's</h3>
2023-05-16 23:36:11 +02:00
<ul>
{{ range .Pages }}
<li>
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title | default .Site.Params.textNoTitle }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}
{{ end }}
{{ if eq .Section "posts" }}
2023-05-18 13:03:01 +02:00
<section>
<h3>Tags</h3>
<div class="post-date">
<span class="g time">{{.Date.Format "January 2, 2006"}} </span> &#8729;
{{ $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>
2023-05-18 13:03:01 +02:00
{{ end }}
</div>
</main>
{{ partial "footer.html" . }}
</body>
2023-05-18 13:03:01 +02:00
{{ partialCached "scripts_loadlast.html" . }}
</html>