diff --git a/layouts/partials/blocks/templates/pages/grid.html b/layouts/partials/blocks/templates/pages/grid.html
index 10e0a57d947c0e805c3802f7060da35b5615e1ed..54c096d8c0fc39f816de0ef79d91589aa05a4c3a 100644
--- a/layouts/partials/blocks/templates/pages/grid.html
+++ b/layouts/partials/blocks/templates/pages/grid.html
@@ -3,7 +3,14 @@
 
 <div class="grid">
   {{ range .pages }}
-    {{- $page := partial "GetPageByUrl" .page -}}
+    {{- $page := false -}}
+    {{/*  Check if . is a map or page url, necessary when pages/grid is called outside block context */}}
+    {{ if reflect.IsMap . }}
+      {{- $page = partial "GetPageByUrl" .page -}}
+    {{ else }}
+      {{- $page =  partial "GetPageByUrl" . -}}
+    {{ end }}
+
     {{ with $page }}
       <article>
         <h3>