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>