summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 01deb99..f0f88ae 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -8,7 +8,7 @@
{{/* TODO: Translate me */}}
<h2>Latest Publications</h2>
<ul class="texts">
- {{ range first 10 (where site.RegularPages "Section" "!=" "") }}
+ {{ range first 10 (where site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections) }}
<li class="text-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>