diff --git a/layouts/begabte/single.html b/layouts/begabte/single.html index cbd18db7..870f884b 100644 --- a/layouts/begabte/single.html +++ b/layouts/begabte/single.html @@ -10,7 +10,7 @@

{{ i18n "related_begabtenfoerderung" }}

-
+
{{ $related := (where .Site.RegularPages "Type" "begabte") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}} {{ range first 3 $related }}
diff --git a/layouts/ganztagsangebote/single.html b/layouts/ganztagsangebote/single.html index c2784d50..32970fa5 100644 --- a/layouts/ganztagsangebote/single.html +++ b/layouts/ganztagsangebote/single.html @@ -61,7 +61,7 @@
-
+
diff --git a/layouts/partials/blog-sidebar.html b/layouts/partials/blog-sidebar.html index b8c23074..d3c0fbaf 100644 --- a/layouts/partials/blog-sidebar.html +++ b/layouts/partials/blog-sidebar.html @@ -1,4 +1,4 @@ -
-
+
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}} {{ range first 3 $related }}