diff --git a/layouts/index.html b/layouts/index.html index 5352bb4..fd7697a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@
- {{ range $index,$data := first 10 (where .Data.Pages "Type" "post") }} + {{ range $index,$data := first 10 (where site.RegularPages "Type" "post") }} {{ partial "article.html" $data }} {{ end }}