diff --git a/layouts/partials/latest-posts.html b/layouts/partials/latest-posts.html
index 64b49e9..f5589d5 100644
--- a/layouts/partials/latest-posts.html
+++ b/layouts/partials/latest-posts.html
@@ -1,6 +1,8 @@
{{ with .Site.Params.readMore }}{{ . }}{{ else }}Read more{{ end }}
- {{ range first 10 (where .Site.Pages "Params.hidden" "ne" "true") }}
+
+ {{ $pages := where .Site.Pages "Kind" "page" }}
+ {{ range first 10 (where $pages "Params.hidden" "ne" "true") }}
{{ $url := replace .Permalink .Site.BaseURL "" }}
{{ if and (ne $url "about/") }}
-
@@ -8,4 +10,4 @@
{{ end }}
{{ end }}
-
\ No newline at end of file
+