gta shuffle

This commit is contained in:
Denys Konovalov 2022-12-31 18:13:07 +01:00
parent 1b8f455c3a
commit acfdc1cb9f
2 changed files with 2 additions and 2 deletions

@ -159,7 +159,7 @@
</div>
</div>
<div class="row justify-content-center">
{{ range first 6 (where .Site.RegularPages "Type" "ganztagsangebote")}}
{{ range first 6 (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "ganztagsangebote" }}
</div>

@ -29,7 +29,7 @@
<div class="col-lg-3 col-sm-4 col-6 mb-5 mb-md-0">
<h4 class="text-white mb-5 text-uppercase">{{ i18n "clubs_footer" }}</h4>
<ul class="list-unstyled">
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote")}}
{{ range first 5 (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
<li class="mb-3"><a class="text-color" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>