„layouts/ganztagsangebote/single.html“ ändern
This commit is contained in:
parent
16b7ce6f2f
commit
c2cad2c0b4
@ -71,7 +71,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
{{ $related := (where .Site.RegularPages "Type" "ganztagsangebote") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
|
{{ $related := (where .Site.RegularPages "Type" "ganztagsangebote") | 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 "ganztag"}}
|
{{ .Render "ganztag"}}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user