diff options
-rw-r--r-- | themes/cocoa/layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/cocoa/layouts/index.html b/themes/cocoa/layouts/index.html index 02f5311..5847cc7 100644 --- a/themes/cocoa/layouts/index.html +++ b/themes/cocoa/layouts/index.html @@ -12,7 +12,7 @@ {{ if gt $latestpostscount 0 }} <div class="page-heading">{{ i18n "latestPosts" }}</div> <ul> - {{ range (first $latestpostscount (where .Data.Pages.ByPublishDate "Section" "blog").Reverse) }} + {{ range (first $latestpostscount (where .Site.Pages.ByPublishDate "Section" "blog").Reverse) }} {{ partial "li.html" . }} {{ end }} {{ if gt $totalpostscount $latestpostscount }} |