„layouts/wettbewerbe/single.html“ ändern
This commit is contained in:
parent
efdf2a5264
commit
1e5f62b60f
@ -12,7 +12,7 @@
|
|||||||
<div class="row" data-pagefind-ignore="all">
|
<div class="row" data-pagefind-ignore="all">
|
||||||
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
|
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
|
||||||
{{ range first 3 $related }}
|
{{ range first 3 $related }}
|
||||||
<div class="col-lg-4 col-sm-6 mb-5">
|
<div class="col-lg-4 col-sm-6">
|
||||||
{{ .Render "card-ct"}}
|
{{ .Render "card-ct"}}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user