1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Updating docs to include ‘first’ functionality for the homepage

This commit is contained in:
spf13
2013-11-15 21:45:52 -05:00
parent aedfa6a2c4
commit 445b7d23fb

View File

@ -43,7 +43,7 @@ It makes use of [chrome templates](/layout/chrome)
<section id="main">
<div>
{{ range .Data.Pages }}
{{ range first 10 .Data.Pages }}
{{ .Render "summary"}}
{{ end }}
</div>