„layouts/begabte/single.html“ ändern

This commit is contained in:
Denys Konovalov 2023-04-23 15:30:00 +02:00
parent 9bdd372b33
commit 1edf39a37f

View File

@ -13,7 +13,7 @@
<div class="row" data-pagefind-ignore="all">
{{ $related := (where .Site.RegularPages "Type" "begabte") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }}
<div class="col-lg-4 col-sm-6 mb-5">
<div class="col-lg-4 col-sm-6">
{{ .Render "card-btn"}}
</div>
{{ end }}