mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 00:02:50 +00:00
Updating docs to include ‘first’ functionality for the homepage
This commit is contained in:
parent
aedfa6a2c4
commit
445b7d23fb
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue