Fix voor overzicht zodat onderliggende pagina's of evenementen wel (of niet) getoond worden

This commit is contained in:
Michael Boelen 2023-06-22 16:05:14 +02:00
parent 6fad3ae9ca
commit 559a9fa8cc
5 changed files with 4 additions and 5 deletions

View file

@ -24,7 +24,6 @@
<section>
<ul class="list">
{{ range (.Pages.ByParam "event_start").Reverse }}
{{ if isset .Params "event_start" }}
<li>
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
<hr class="hr-list">
@ -32,7 +31,6 @@
<time class="g time" datetime="{{ dateFormat "02-01-2006" .Params.event_start }}">{{ dateFormat "02-01-2006" .Params.event_start }}</time>
{{ end }}
</li>
{{ end }}
{{ end }}
</ul>
</section>