diff --git a/layouts/_partials/page-list.html b/layouts/_partials/page-list.html
index a16ca51..6ef8cbb 100644
--- a/layouts/_partials/page-list.html
+++ b/layouts/_partials/page-list.html
@@ -1,9 +1,18 @@
-
- {{ with . }}
+{{ $list := dict }}
+{{ $extraclasses := "" }}
+{{ with try (index . "list") }}
+ {{ if .Err }}
+ {{ $list = $ }}
+ {{ else }}
+ {{ $list = .Value }}
+ {{ $extraclasses = index $ "classes" }}
+ {{ end }}
+{{ end }}
+
+