mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Updating docs to include ‘first’ functionality for the homepage
This commit is contained in:
1 parent
aedfa6a2c4
commit
445b7d23fb
1 file changed
+1
-1
@@ -43,7 +43,7 @@ It makes use of [chrome templates](/layout/chrome)
|
|||||||
|
|
||||||
<section id="main">
|
<section id="main">
|
||||||
<div>
|
<div>
|
||||||
{{ range .Data.Pages }}
|
{{ range first 10 .Data.Pages }}
|
||||||
{{ .Render "summary"}}
|
{{ .Render "summary"}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user