diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index f5fd2ddbf1..554eaf0071 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-{{ if .Parent.IsHome }}
+{{ if (and .Parent .Parent.IsHome) }}
{{ $.Scratch.Set "blog-pages" (where .Site.RegularPages "Section" .Section) }}
{{ else }}
{{$.Scratch.Set "blog-pages" .Pages }}